Initial changes for gfx1101, based on gfx1100/gfx1102 implementation.
Change-Id: I949c1027ccabf38b4f924590e42e7327dc550f73
Signed-off-by: David Belanger <david.belanger@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
[ROCm/ROCR-Runtime commit: a0d3db6e8d]
This commit is contained in:
committed by
David Yat Sin
parent
f5dc99bf9e
commit
9f2c88c46a
@@ -97,6 +97,7 @@ extern uint8_t ocl_blit_object_gfx1034[];
|
||||
extern uint8_t ocl_blit_object_gfx1035[];
|
||||
extern uint8_t ocl_blit_object_gfx1036[];
|
||||
extern uint8_t ocl_blit_object_gfx1100[];
|
||||
extern uint8_t ocl_blit_object_gfx1101[];
|
||||
extern uint8_t ocl_blit_object_gfx1102[];
|
||||
extern uint8_t ocl_blit_object_gfx1103[];
|
||||
|
||||
@@ -1030,6 +1031,8 @@ hsa_status_t BlitKernel::GetPatchedBlitObject(const char* agent_name,
|
||||
*blit_code_object = ocl_blit_object_gfx1036;
|
||||
} else if (sname == "gfx1100") {
|
||||
*blit_code_object = ocl_blit_object_gfx1100;
|
||||
} else if (sname == "gfx1101") {
|
||||
*blit_code_object = ocl_blit_object_gfx1101;
|
||||
} else if (sname == "gfx1102") {
|
||||
*blit_code_object = ocl_blit_object_gfx1102;
|
||||
} else if (sname == "gfx1103") {
|
||||
|
||||
@@ -47,7 +47,7 @@ find_package(Clang REQUIRED HINTS ${CMAKE_PREFIX_PATH}/llvm PATHS /opt/rocm/llvm
|
||||
|
||||
# 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;gfx1036;gfx1100;gfx1102;gfx1103")
|
||||
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;gfx1100;gfx1101;gfx1102;gfx1103")
|
||||
endif()
|
||||
set( TARGET_DEVICES ${TARGET_DEVICES} CACHE STRING "Build targets" FORCE )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user