diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b727b44..91fc956f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,6 +85,22 @@ if(CMAKE_CUDA_COMPILER) ) endif() +set(AMDGPU_TARGETS + gfx1010:xnack- + gfx1011 + gfx1012:xnack- + gfx1030 + gfx1031 + gfx1032 + gfx1034 + gfx1035 + gfx1100 + gfx1101 + gfx1102 + gfx1103 + gfx1150 + CACHE STRING "List of AMDGPU targets to build for") + set(WINDOWS_AMDGPU_TARGETS_EXCLUDE_REGEX "" CACHE STRING "Regular expression describing AMDGPU_TARGETS not supported on Windows. Override to force building these targets. Default \"^gfx(908|90a):xnack[+-]$\"."