From 6a7929c7a8eff30ee5664b0a0dee947eac201a83 Mon Sep 17 00:00:00 2001 From: chqy99 <1216494776@qq.com> Date: Fri, 22 Sep 2023 17:50:12 +0800 Subject: [PATCH] [Fix](bangc-ops): Check the use of NOLINT --- .../ms_deform_attn_forward/msda_forward_union1_default.mlu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bangc-ops/kernels/ms_deform_attn_forward/msda_forward_union1_default.mlu b/bangc-ops/kernels/ms_deform_attn_forward/msda_forward_union1_default.mlu index d62388b4ff..f7f0d4d5d9 100644 --- a/bangc-ops/kernels/ms_deform_attn_forward/msda_forward_union1_default.mlu +++ b/bangc-ops/kernels/ms_deform_attn_forward/msda_forward_union1_default.mlu @@ -389,7 +389,7 @@ __mlu_global__ void MLUKernelMsDeformAttnForwardDefault( [(level_idx * num_points + point_idx + 1) * 2]; loc_h = ((T *)data_sampling_loc_gdram_start) [(level_idx * num_points + point_idx + 1) * 2 + 1]; - weight_next_point =((T *)data_attn_weight_gdram_start) + weight_next_point = ((T *)data_attn_weight_gdram_start) [level_idx * num_points + point_idx + 1]; x_next_point = loc_w * spatial_w_next_point - 0.5; y_next_point = loc_h * spatial_h_next_point - 0.5;