From 15d06654fb45a3acb43f32193ea3d66dad3638e1 Mon Sep 17 00:00:00 2001 From: freeliuzc Date: Fri, 29 Dec 2023 11:48:16 +0800 Subject: [PATCH] delete random bug --- .../cutlass_extensions/gemm/kernel/fpA_intB_gemm_split_k.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/paddle/phi/kernels/fusion/cutlass/cutlass_extensions/gemm/kernel/fpA_intB_gemm_split_k.h b/paddle/phi/kernels/fusion/cutlass/cutlass_extensions/gemm/kernel/fpA_intB_gemm_split_k.h index 55423457214396..0937120e12a245 100644 --- a/paddle/phi/kernels/fusion/cutlass/cutlass_extensions/gemm/kernel/fpA_intB_gemm_split_k.h +++ b/paddle/phi/kernels/fusion/cutlass/cutlass_extensions/gemm/kernel/fpA_intB_gemm_split_k.h @@ -231,6 +231,7 @@ struct GemmFpAIntBSplitK { public: CUTLASS_HOST_DEVICE Params() = default; + CUTLASS_HOST_DEVICE Params(Arguments const &args, int device_sms, int sm_occupancy) : params_A(args.ref_A.layout()), @@ -843,10 +844,6 @@ struct GemmFpAIntBSplitK { // Initialize accumulators AccumulatorTile accumulator_tile; Mma mma(shared_storage.main_loop, -1, thread_idx, warp_idx, lane_idx); - Mma mma(shared_storage.main_loop, -1, thread_idx, warp_idx, lane_idx); - Mma mma(shared_storage.main_loop, -1, thread_idx, warp_idx, lane_idx); - Mma mma(shared_storage.main_loop, -1, thread_idx, warp_idx, lane_idx); - Mma mma(shared_storage.main_loop, -1, thread_idx, warp_idx, lane_idx); mma(tile_work.k_iters_remaining, accumulator_tile,