Skip to content

Commit

Permalink
rocr: add ISA target support for GC version 11.5.3
Browse files Browse the repository at this point in the history
This add support for GC version 11.5.3

Change-Id: I1d55e33198620d3493967558c25c636d5f7ab347
Signed-off-by: Tim Huang <[email protected]>
  • Loading branch information
Tim Huang authored and Tim Huang committed Dec 30, 2024
1 parent c5a5b78 commit e515b0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions runtime/hsa-runtime/core/runtime/isa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions runtime/hsa-runtime/image/blit_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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[];

Expand Down Expand Up @@ -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") {
Expand Down
2 changes: 1 addition & 1 deletion runtime/hsa-runtime/image/blit_src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 )

Expand Down

0 comments on commit e515b0b

Please sign in to comment.