From 2629a7aca43e94ef1c60736a628febf9138fedef Mon Sep 17 00:00:00 2001 From: likelovewant Date: Wed, 12 Feb 2025 15:28:02 +0800 Subject: [PATCH] set amdgpu target --- CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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[+-]$\"."