mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
HIP: Add support for NVIDIA GPUs
Add support for using the CUDA Toolkit's NVCC to compile HIP code. Fixes: #25143
This commit is contained in:
@@ -103,7 +103,7 @@ function(compiler_id_detection outvar lang)
|
||||
endif()
|
||||
|
||||
if("x${lang}" STREQUAL "xHIP")
|
||||
set(ordered_compilers Clang)
|
||||
set(ordered_compilers NVIDIA Clang)
|
||||
endif()
|
||||
|
||||
if(CID_ID_DEFINE)
|
||||
|
||||
Reference in New Issue
Block a user