File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ add_custom_target(${MODULE}_CUDA_SRC_CHK ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}
8484
8585add_custom_command (
8686 OUTPUT ${GPU_RTC_BIN} .command
87- COMMAND echo -n "${CMAKE_CUDA_COMPILER} -forward-unknown-to-host-compiler ${GPU_RTC_DEFINES} ${GPU_RTC_FLAGS_SEPARATED} -x cu -fatbin" > ${GPU_RTC_BIN} .command
87+ COMMAND echo -n "${CMAKE_CUDA_COMPILER} -forward-unknown-to-host-compiler ${GPU_RTC_DEFINES} ${GPU_RTC_FLAGS_SEPARATED} -x cu -fatbin -Xcudafe --diag_suppress=177 " > ${GPU_RTC_BIN} .command
8888 COMMAND_EXPAND_LISTS VERBATIM
8989 COMMENT "Preparing CUDA RTC command file ${GPU_RTC_BIN} .command"
9090)
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ add_custom_target(${MODULE}_HIP_SRC_CHK ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/
122122
123123add_custom_command (
124124 OUTPUT ${GPU_RTC_BIN} .command
125- COMMAND echo -n "${CMAKE_HIP_COMPILER} ${GPU_RTC_DEFINES} ${GPU_RTC_FLAGS_SEPARATED} -x hip --cuda-device-only" > ${GPU_RTC_BIN} .command
125+ COMMAND echo -n "${CMAKE_HIP_COMPILER} ${GPU_RTC_DEFINES} ${GPU_RTC_FLAGS_SEPARATED} -x hip --cuda-device-only -Wno-unused-const-variable " > ${GPU_RTC_BIN} .command
126126 COMMAND_EXPAND_LISTS VERBATIM
127127 COMMENT "Preparing HIP RTC command file ${GPU_RTC_BIN} .command"
128128)
You can’t perform that action at this time.
0 commit comments