SWDEV-288036 - Added gfx90a in default support list

Change-Id: Ie25466f1d762f05d7b0e5dfe2e4881e9db695260
This commit is contained in:
Sarbojit Sarkar
2021-06-14 12:36:56 +05:30
parent 87ba31e596
commit b06b1689fc
+4 -2
View File
@@ -123,8 +123,10 @@ if(HIP_COMPILER STREQUAL "clang")
if(NOT WIN32)
find_dependency(AMDDeviceLibs)
endif()
set(AMDGPU_TARGETS "gfx900;gfx906;gfx908" CACHE STRING "AMD GPU targets to compile for")
set(GPU_TARGETS "${AMDGPU_TARGETS}" CACHE STRING "GPU targets to compile for")
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})
endif()
if(NOT WIN32)