add gfx1036 support
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com> Change-Id: Ifc1b3cf2e46cf753f57470ebc6b034c1a349d3d2
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Sean Keely
ebeveyn
1b0440e7b3
işleme
54c8b7900d
@@ -95,6 +95,7 @@ extern uint8_t ocl_blit_object_gfx1032[];
|
||||
extern uint8_t ocl_blit_object_gfx1033[];
|
||||
extern uint8_t ocl_blit_object_gfx1034[];
|
||||
extern uint8_t ocl_blit_object_gfx1035[];
|
||||
extern uint8_t ocl_blit_object_gfx1036[];
|
||||
|
||||
// Arguments inserted by OCL compiler, all zero here.
|
||||
struct OCLHiddenArgs {
|
||||
@@ -1022,6 +1023,8 @@ hsa_status_t BlitKernel::GetPatchedBlitObject(const char* agent_name,
|
||||
*blit_code_object = ocl_blit_object_gfx1034;
|
||||
} else if (sname == "gfx1035") {
|
||||
*blit_code_object = ocl_blit_object_gfx1035;
|
||||
} else if (sname == "gfx1036") {
|
||||
*blit_code_object = ocl_blit_object_gfx1036;
|
||||
} else {
|
||||
return HSA_STATUS_ERROR_INVALID_ISA_NAME;
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ endif()
|
||||
|
||||
# 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;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035")
|
||||
set (TARGET_DEVICES "gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036")
|
||||
endif()
|
||||
set( TARGET_DEVICES ${TARGET_DEVICES} CACHE STRING "Build targets" FORCE )
|
||||
|
||||
|
||||
@@ -188,6 +188,7 @@ uint32_t DevIDToAddrLibFamily(uint32_t dev_id) {
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
return FAMILY_NV;
|
||||
|
||||
default:
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle