From ded6cd3b4ec986df582fdf2a3f17e2e3de2fef98 Mon Sep 17 00:00:00 2001 From: Sarbojit Sarkar Date: Wed, 30 Jun 2021 10:15:54 +0000 Subject: [PATCH] SWDEV-293424 - Included gfx90a and gfx1030 Change-Id: I765890f3476f0983021dea722c4f771c51d53cd2 [ROCm/clr commit: 165d417d6087806e7160394585090759dee34bda] --- projects/clr/hipamd/hip-config.cmake.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/projects/clr/hipamd/hip-config.cmake.in b/projects/clr/hipamd/hip-config.cmake.in index 2c73ed0412..cbf7d7bb79 100755 --- a/projects/clr/hipamd/hip-config.cmake.in +++ b/projects/clr/hipamd/hip-config.cmake.in @@ -135,10 +135,8 @@ if(HIP_COMPILER STREQUAL "clang") if(NOT WIN32) find_dependency(AMDDeviceLibs) endif() - set(GPU_DEFAULT_TARGETS "gfx900;gfx906;gfx908;gfx90a;gfx1030") - set(GPU_SUPPORTED_TARGETS "gfx701;gfx801;gfx802;gfx803;gfx900;gfx906;gfx908;gfx90a;gfx1010;gfx1011;gfx1012;gfx1030;gfx1031") - set(GPU_TARGETS "${GPU_DEFAULT_TARGETS}" CACHE STRING "GPU targets to compile for") - set_property(CACHE GPU_TARGETS PROPERTY STRINGS ${GPU_SUPPORTED_TARGETS}) + set(AMDGPU_TARGETS "gfx900;gfx906;gfx908;gfx90a;gfx1030" CACHE STRING "AMD GPU targets to compile for") + set(GPU_TARGETS "${AMDGPU_TARGETS}" CACHE STRING "GPU targets to compile for") endif() if(NOT WIN32)