Add gfx1034 support

Change-Id: I2d4bfcb9012704daf7de10739c966827bd2a09e2
This commit is contained in:
Chris Freehill
2021-03-09 14:18:10 -06:00
committed by Sean Keely
parent 36c54c63f7
commit 8cb686fdc5
6 changed files with 8 additions and 3 deletions
@@ -92,6 +92,7 @@ extern uint8_t ocl_blit_object_gfx1030[];
extern uint8_t ocl_blit_object_gfx1031[];
extern uint8_t ocl_blit_object_gfx1032[];
extern uint8_t ocl_blit_object_gfx1033[];
extern uint8_t ocl_blit_object_gfx1034[];
// Arguments inserted by OCL compiler, all zero here.
struct OCLHiddenArgs {
@@ -1013,6 +1014,8 @@ hsa_status_t BlitKernel::GetPatchedBlitObject(const char* agent_name,
*blit_code_object = ocl_blit_object_gfx1032;
} else if (sname == "gfx1033") {
*blit_code_object = ocl_blit_object_gfx1033;
} else if (sname == "gfx1034") {
*blit_code_object = ocl_blit_object_gfx1034;
} else {
return HSA_STATUS_ERROR_INVALID_ISA_NAME;
}
@@ -69,7 +69,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;gfx1030;gfx1031;gfx1032;gfx1033")
set (TARGET_DEVICES "gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx1010;gfx1011;gfx1012;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034")
endif()
set( TARGET_DEVICES ${TARGET_DEVICES} CACHE STRING "Build targets" FORCE )