SWDEV-305527 - Changes to handle memset blit kernel that takes width, height and depth. This also fixes SWDEV-317261.
Change-Id: Ic85f63a95d9d8f48884fc8c7fd95cbb496dfbbca
[ROCm/clr commit: 7fb80a027a]
이 커밋은 다음에 포함됨:
1 부모
8fb4e3478a
커밋
31c0525344
11 파일이 변경됨
+224
-47
검색과 일치하는 파일 없음
@@ -27,6 +27,10 @@ const char* BlitLinearSourceCode = BLIT_KERNELS(
|
||||
extern void __amd_fillBufferAligned(__global uchar*, __global ushort*, __global uint*,
|
||||
__global ulong*, __constant uchar*, uint, ulong, ulong);
|
||||
|
||||
extern void __amd_fillBufferAligned2D(__global uchar*, __global ushort*, __global uint*,
|
||||
__global ulong*, __constant uchar*, uint, ulong, ulong,
|
||||
ulong, ulong);
|
||||
|
||||
extern void __amd_copyBuffer(__global uchar*, __global uchar*, ulong, ulong, ulong, uint);
|
||||
|
||||
extern void __amd_copyBufferAligned(__global uint*, __global uint*, ulong, ulong, ulong, uint);
|
||||
@@ -47,6 +51,21 @@ const char* BlitLinearSourceCode = BLIT_KERNELS(
|
||||
pattern, patternSize, offset, size);
|
||||
}
|
||||
|
||||
__kernel void __amd_rocclr_fillBufferAligned2D(__global uchar* bufUChar,
|
||||
__global ushort* bufUShort,
|
||||
__global uint* bufUInt,
|
||||
__global ulong* bufULong,
|
||||
__constant uchar* pattern,
|
||||
uint patternSize,
|
||||
ulong offset,
|
||||
ulong width,
|
||||
ulong height,
|
||||
ulong pitch) {
|
||||
__amd_fillBufferAligned2D(bufUChar, bufUShort, bufUInt, bufULong,
|
||||
pattern, patternSize, offset, width, height,
|
||||
pitch);
|
||||
}
|
||||
|
||||
__kernel void __amd_rocclr_copyBuffer(__global uchar* srcI, __global uchar* dstI,
|
||||
ulong srcOrigin, ulong dstOrigin, ulong size,
|
||||
uint remain) {
|
||||
|
||||
새 이슈에서 참조
사용자 차단