@@ -175,17 +175,16 @@ struct UniversalInvoker
175175
176176 auto size_a_buffer = a_m.get_element_space_size_in_bytes ();
177177 auto size_b_buffer = b_n.get_element_space_size_in_bytes ();
178-
178+
179179 rotating_mem_ptr =
180180 std::make_unique<ck_tile::RotatingMemWrapper<ADataType, BInDataType>>(
181181 kargs.as_ptr [0 ],
182182 kargs.bs_ptr [0 ],
183183 s.rotating_count_ ,
184184 size_a_buffer,
185185 size_b_buffer);
186- rotating_mem_ptr->Print ();
186+ rotating_mem_ptr->Print ();
187187
188-
189188 preprocess = [&]() {
190189 ck_tile::flush_icache ();
191190 rotating_mem_ptr->Next ();
@@ -297,53 +296,6 @@ int run_gemm_example(ck_tile::ArgParser& arg_parser)
297296 std::string b_layout = arg_parser.get_str (" b_layout" );
298297
299298 using Invoker = UniversalInvoker;
300- // if(data_type == "fp16")
301- // {
302- // return run_gemm_example_prec_type<GemmConfig<ck_tile::half_t>, ck_tile::half_t>(
303- // a_layout, b_layout, argc, argv);
304- // }
305- // else if(data_type == "bf16")
306- // {
307- // return run_gemm_example_prec_type<GemmConfig<ck_tile::half_t>, ck_tile::bf16_t>(
308- // a_layout, b_layout, argc, argv);
309- // }
310- // else if(data_type == "fp8")
311- // {
312- // return run_gemm_example_prec_type<GemmConfig<ck_tile::fp8_t>,
313- // ck_tile::fp8_t,
314- // ck_tile::fp8_t,
315- // ck_tile::bf16_t>(a_layout, b_layout, argc, argv);
316- // }
317- // else if(data_type == "bf8")
318- // {
319- // return run_gemm_example_prec_type<GemmConfig<ck_tile::bf8_t>,
320- // ck_tile::bf8_t,
321- // ck_tile::bf8_t,
322- // ck_tile::half_t>(a_layout, b_layout, argc, argv);
323- // }
324- // else if(data_type == "int8")
325- // {
326- // return run_gemm_example_prec_type<GemmConfig<ck_tile::int8_t>,
327- // ck_tile::int8_t,
328- // ck_tile::int8_t,
329- // ck_tile::int32_t>(a_layout, b_layout, argc, argv);
330- // }
331- // else if(data_type == "pk_int4_t")
332- // {
333- // // TODO: Add support for bhalf_t ADataType
334- // if constexpr(GemmConfig<ck_tile::half_t>::Pipeline == CK_TILE_PIPELINE_COMPUTE_V3)
335- // {
336- // return run_gemm_example_prec_type<GemmConfig<ck_tile::half_t>,
337- // ck_tile::half_t,
338- // ck_tile::pk_int4_t,
339- // ck_tile::half_t>(a_layout, b_layout, argc, argv);
340- // }
341- // else
342- // {
343- // throw std::runtime_error("Unsupported pipeline for this operation !!!");
344- // }
345- // }
346- // else if(data_type == "pk_fp4_t")
347299 if (data_type == " pk_fp4_t" )
348300 {
349301 // TODO: Add support for bhalf_t ADataType
0 commit comments