rocr: add ISA target support for GC version 11.5.3
This add support for GC version 11.5.3 Change-Id: I1d55e33198620d3493967558c25c636d5f7ab347 Signed-off-by: Tim Huang <tim.huang@amd.com>
This commit is contained in:
zatwierdzone przez
Tim Huang
rodzic
c5a5b785bf
commit
e515b0bca5
@@ -448,6 +448,7 @@ const IsaRegistry::IsaMap& IsaRegistry::GetSupportedIsas() {
|
||||
ISAREG_ENTRY_GEN("gfx1150", 11, 5, 0, unsupported, unsupported, 32, "gfx11-generic")
|
||||
ISAREG_ENTRY_GEN("gfx1151", 11, 5, 1, unsupported, unsupported, 32, "gfx11-generic")
|
||||
ISAREG_ENTRY_GEN("gfx1152", 11, 5, 2, unsupported, unsupported, 32, "gfx11-generic")
|
||||
ISAREG_ENTRY_GEN("gfx1153", 11, 5, 3, unsupported, unsupported, 32, "gfx11-generic")
|
||||
ISAREG_ENTRY_GEN("gfx1200", 12, 0, 0, unsupported, unsupported, 32, "gfx12-generic")
|
||||
ISAREG_ENTRY_GEN("gfx1201", 12, 0, 1, unsupported, unsupported, 32, "gfx12-generic")
|
||||
#undef ISAREG_ENTRY_GEN
|
||||
|
||||
@@ -106,6 +106,7 @@ extern uint8_t ocl_blit_object_gfx1103[];
|
||||
extern uint8_t ocl_blit_object_gfx1150[];
|
||||
extern uint8_t ocl_blit_object_gfx1151[];
|
||||
extern uint8_t ocl_blit_object_gfx1152[];
|
||||
extern uint8_t ocl_blit_object_gfx1153[];
|
||||
extern uint8_t ocl_blit_object_gfx1200[];
|
||||
extern uint8_t ocl_blit_object_gfx1201[];
|
||||
|
||||
@@ -1057,6 +1058,8 @@ hsa_status_t BlitKernel::GetPatchedBlitObject(const char* agent_name,
|
||||
*blit_code_object = ocl_blit_object_gfx1151;
|
||||
} else if (sname == "gfx1152") {
|
||||
*blit_code_object = ocl_blit_object_gfx1152;
|
||||
} else if (sname == "gfx1153") {
|
||||
*blit_code_object = ocl_blit_object_gfx1153;
|
||||
} else if (sname == "gfx1200") {
|
||||
*blit_code_object = ocl_blit_object_gfx1200;
|
||||
} else if (sname == "gfx1201") {
|
||||
|
||||
@@ -50,7 +50,7 @@ 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"
|
||||
"gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036"
|
||||
"gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1200;gfx1201")
|
||||
"gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201")
|
||||
endif()
|
||||
set( TARGET_DEVICES ${TARGET_DEVICES} CACHE STRING "Build targets" FORCE )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user