Initial GFX12 changes.
Add target gfx1200 to several files. Add cases for GFX12 in a few switch statements. Signed-off-by: David Belanger <david.belanger@amd.com> Change-Id: Ib90032f5b9d5a3306060f13a43d970108a1399df Signed-off-by: Chris Freehill <cfreehil@amd.com>
Cette révision appartient à :
révisé par
Chris Freehill
Parent
696d8fae9e
révision
2f14acd9c1
@@ -105,6 +105,7 @@ extern uint8_t ocl_blit_object_gfx1102[];
|
||||
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_gfx1200[];
|
||||
|
||||
// Arguments inserted by OCL compiler, all zero here.
|
||||
struct OCLHiddenArgs {
|
||||
@@ -1052,6 +1053,8 @@ hsa_status_t BlitKernel::GetPatchedBlitObject(const char* agent_name,
|
||||
*blit_code_object = ocl_blit_object_gfx1150;
|
||||
} else if (sname == "gfx1151") {
|
||||
*blit_code_object = ocl_blit_object_gfx1151;
|
||||
} else if (sname == "gfx1200") {
|
||||
*blit_code_object = ocl_blit_object_gfx1200;
|
||||
} else {
|
||||
return HSA_STATUS_ERROR_INVALID_ISA_NAME;
|
||||
}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur