Skip to content

Commit 586d083

Browse files
houseroadminpeter
authored andcommitted
[Misc][ROCm] Enforce no unused variable in ROCm C++ files (vllm-project#19796)
Signed-off-by: Lu Fang <lufang@fb.com> Signed-off-by: minpeter <kali2005611@gmail.com>
1 parent 3a37d52 commit 586d083

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/utils.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ function (get_torch_gpu_compiler_flags OUT_GPU_FLAGS GPU_LANG)
122122
"-DENABLE_FP8"
123123
"-U__HIP_NO_HALF_CONVERSIONS__"
124124
"-U__HIP_NO_HALF_OPERATORS__"
125+
"-Werror=unused-variable"
125126
"-fno-gpu-rdc")
126127

127128
endif()

0 commit comments

Comments
 (0)