rocr: Add support for gfx950
<squashed with patch for gfx950 generic targets> Signed-off-by: Chris Freehill <Chris.Freehill@amd.com> Change-Id: Ifec6d93cf46c7fbf736c6572882299e279260af6
This commit is contained in:
committed by
Amber Lin
vanhempi
7d64fe49fa
commit
dab8f2fc65
@@ -88,6 +88,7 @@ extern uint8_t ocl_blit_object_gfx90c[];
|
||||
extern uint8_t ocl_blit_object_gfx940[];
|
||||
extern uint8_t ocl_blit_object_gfx941[];
|
||||
extern uint8_t ocl_blit_object_gfx942[];
|
||||
extern uint8_t ocl_blit_object_gfx950[];
|
||||
extern uint8_t ocl_blit_object_gfx1010[];
|
||||
extern uint8_t ocl_blit_object_gfx1011[];
|
||||
extern uint8_t ocl_blit_object_gfx1012[];
|
||||
@@ -1022,6 +1023,8 @@ hsa_status_t BlitKernel::GetPatchedBlitObject(const char* agent_name,
|
||||
*blit_code_object = ocl_blit_object_gfx941;
|
||||
} else if (sname == "gfx942") {
|
||||
*blit_code_object = ocl_blit_object_gfx942;
|
||||
} else if (sname == "gfx950") {
|
||||
*blit_code_object = ocl_blit_object_gfx950;
|
||||
} else if (sname == "gfx1010") {
|
||||
*blit_code_object = ocl_blit_object_gfx1010;
|
||||
} else if (sname == "gfx1011") {
|
||||
|
||||
@@ -48,7 +48,7 @@ find_package(Clang REQUIRED HINTS ${CMAKE_PREFIX_PATH}/llvm PATHS /opt/rocm/llvm
|
||||
# Determine the target devices if not specified
|
||||
if (NOT DEFINED TARGET_DEVICES)
|
||||
set (TARGET_DEVICES "gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810"
|
||||
"gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx940;gfx941;gfx942"
|
||||
"gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx940;gfx941;gfx942;gfx950"
|
||||
"gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036"
|
||||
"gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201")
|
||||
endif()
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user