SWDEV-419688 - Do not run GWS init kernel for targets > gfx12 and MI300.

Change-Id: I8e7441268978be71ab8a5a33e7f8bcf69660e500
(cherry picked from commit 36d37ef614909c0f215512aac0c133408d787080)
이 커밋은 다음에 포함됨:
kjayapra-amd 작성하고 Sourabh Betigeri가 2023-10-05 14:57:56 -04:00를 커밋함
1 부모 6398f604b0
커밋 6a8bc3c718
7 파일이 변경됨
+39 -12

검색과 일치하는 파일 없음

+17
파일 보기
@@ -118,6 +118,23 @@ const char* HipExtraSourceCode = BLIT_KERNELS(
}
);
const char* HipExtraSourceCodeNoGWS = BLIT_KERNELS(
__kernel void __amd_rocclr_streamOpsWrite(__global uint* ptrInt, __global ulong* ptrUlong,
ulong value, ulong sizeBytes) {
__amd_streamOpsWrite(ptrInt, ptrUlong, value, sizeBytes);
}
__kernel void __amd_rocclr_streamOpsWait(__global uint* ptrInt, __global ulong* ptrUlong,
ulong value, ulong flags, ulong mask) {
__amd_streamOpsWait(ptrInt, ptrUlong, value, flags, mask);
}
__kernel void __amd_rocclr_initHeap(ulong heap_to_initialize, ulong initial_blocks,
uint heap_size, uint number_of_initial_blocks) {
__ockl_dm_init_v1(heap_to_initialize, initial_blocks, heap_size, number_of_initial_blocks);
}
);
const char* BlitImageSourceCode = BLIT_KERNELS(
// Extern
extern void __amd_fillImage(__write_only image2d_array_t, float4, int4, uint4, int4, int4,