set amdgpu target

This commit is contained in:
likelovewant
2025-02-12 15:28:02 +08:00
parent d89b2f0fe7
commit 2629a7aca4

View File

@@ -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[+-]$\"."