Skip to content

Commit 2e11088

Browse files
houseroadadobrzyn
authored andcommitted
[MISC][AMD] Add unused annotation to rocm kernel file (vllm-project#17097)
Signed-off-by: Lu Fang <lufang@fb.com> Signed-off-by: Agata Dobrzyniewicz <adobrzyniewicz@habana.ai>
1 parent 9906716 commit 2e11088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csrc/rocm/skinny_gemms.cu

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ __global__ void LLGemm1_kernel(const scalar_t* in_a, const scalar_t* in_b,
150150
colB_elem4w = bf4[threadid * 4 + 3];
151151

152152
scalar2_t Af2;
153-
scalar2_t Bf2;
153+
[[maybe_unused]] scalar2_t Bf2;
154154
float2 S;
155155

156156
auto Ah2ptr = reinterpret_cast<scalar2_t*>(&rowA_elem4);
@@ -1597,4 +1597,4 @@ void wvSplitKQ(at::Tensor& in_a, at::Tensor& in_b, at::Tensor& out_c,
15971597
}
15981598
});
15991599
});
1600-
}
1600+
}

0 commit comments

Comments
 (0)