Unverified Commit 8d1e89d9 authored by Lu Fang's avatar Lu Fang Committed by GitHub
Browse files

[Misc][ROCm] Enforce no unused variable in ROCm C++ files (#19796)


Signed-off-by: default avatarLu Fang <lufang@fb.com>
parent 36239f79
......@@ -122,6 +122,7 @@ function (get_torch_gpu_compiler_flags OUT_GPU_FLAGS GPU_LANG)
"-DENABLE_FP8"
"-U__HIP_NO_HALF_CONVERSIONS__"
"-U__HIP_NO_HALF_OPERATORS__"
"-Werror=unused-variable"
"-fno-gpu-rdc")
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment