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;
}