Skip to content

Commit

Permalink
Fix using CUID to host-only compilation
Browse files Browse the repository at this point in the history
Remove CUID for host-only compilation since the tests do not expect CUID.

Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
  • Loading branch information
zichguan-amd committed Feb 21, 2025
1 parent 544f235 commit b4ee999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HIP-Basic/assembly_to_executable/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ message(STATUS "GPU_ARCHITECTURES: ${GPU_ARCHITECTURES}")

set_source_files_properties(
main.hip
PROPERTIES COMPILE_OPTIONS "--cuda-host-only"
PROPERTIES COMPILE_OPTIONS "--cuda-host-only;-fuse-cuid=none"
)

if(WIN32)
Expand Down
2 changes: 1 addition & 1 deletion HIP-Basic/llvm_ir_to_executable/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ message(STATUS "GPU_ARCHITECTURES: ${GPU_ARCHITECTURES}")

set_source_files_properties(
main.hip
PROPERTIES COMPILE_OPTIONS "--cuda-host-only"
PROPERTIES COMPILE_OPTIONS "--cuda-host-only;-fuse-cuid=none"
)

find_program(
Expand Down

0 comments on commit b4ee999

Please sign in to comment.