Skip to content

Commit 9d8f280

Browse files
jchodorCompute-Runtime-Automation
authored andcommitted
Removing address space qualifiers from literals
Change-Id: Iffdc5a8d98f37a3df930d67c39f771c89b24f47c
1 parent 15d6b24 commit 9d8f280

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

runtime/built_ins/kernels/copy_buffer_to_image3d.igdrcl_built_in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ __kernel void CopyBufferToImage3dBytes(__global uchar *src,
3535
int4 dstCoord = (int4)(x, y, z, 0) + dstOffset;
3636
uint LOffset = srcOffset + (y * Pitch.x) + (z * Pitch.y);
3737

38-
write_imageui(output, dstCoord, (__global uint4)(*(src + LOffset + x), 0, 0, 1));
38+
write_imageui(output, dstCoord, (uint4)(*(src + LOffset + x), 0, 0, 1));
3939
}
4040

4141
__kernel void CopyBufferToImage3d2Bytes(__global uchar *src,
@@ -124,7 +124,7 @@ __kernel void CopyBufferToImage3d8Bytes(__global uchar *src,
124124
c = *((__global uint2*)(src + LOffset + x * 8));
125125
}
126126

127-
write_imageui(output, dstCoord, (__global uint4)(c.x, c.y, 0, 1));
127+
write_imageui(output, dstCoord, (uint4)(c.x, c.y, 0, 1));
128128
}
129129

130130
__kernel void CopyBufferToImage3d16Bytes(__global uchar *src,

unit_tests/helpers/kernel_binary_helper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
extern PRODUCT_FAMILY productFamily;
1515

16-
const std::string KernelBinaryHelper::BUILT_INS("12523835541146349626");
16+
const std::string KernelBinaryHelper::BUILT_INS("7030307152995455603");
1717

1818
KernelBinaryHelper::KernelBinaryHelper(const std::string &name, bool appendOptionsToFileName) {
1919
// set mock compiler to return expected kernel

unit_tests/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ int main(int argc, char **argv) {
386386
MockCompilerDebugVars fclDebugVars;
387387
MockCompilerDebugVars igcDebugVars;
388388

389-
retrieveBinaryKernelFilename(fclDebugVars.fileName, "12523835541146349626_", ".bc");
390-
retrieveBinaryKernelFilename(igcDebugVars.fileName, "12523835541146349626_", ".gen");
389+
retrieveBinaryKernelFilename(fclDebugVars.fileName, "7030307152995455603_", ".bc");
390+
retrieveBinaryKernelFilename(igcDebugVars.fileName, "7030307152995455603_", ".gen");
391391

392392
gEnvironment->setMockFileNames(fclDebugVars.fileName, igcDebugVars.fileName);
393393
gEnvironment->setDefaultDebugVars(fclDebugVars, igcDebugVars, device);

unit_tests/test_files/12523835541146349626.cl renamed to unit_tests/test_files/7030307152995455603.cl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ __kernel void CopyBufferToImage3dBytes(__global uchar *src,
231231
int4 dstCoord = (int4)(x, y, z, 0) + dstOffset;
232232
uint LOffset = srcOffset + (y * Pitch.x) + (z * Pitch.y);
233233

234-
write_imageui(output, dstCoord, (__global uint4)(*(src + LOffset + x), 0, 0, 1));
234+
write_imageui(output, dstCoord, (uint4)(*(src + LOffset + x), 0, 0, 1));
235235
}
236236

237237
__kernel void CopyBufferToImage3d2Bytes(__global uchar *src,
@@ -320,7 +320,7 @@ __kernel void CopyBufferToImage3d8Bytes(__global uchar *src,
320320
c = *((__global uint2*)(src + LOffset + x * 8));
321321
}
322322

323-
write_imageui(output, dstCoord, (__global uint4)(c.x, c.y, 0, 1));
323+
write_imageui(output, dstCoord, (uint4)(c.x, c.y, 0, 1));
324324
}
325325

326326
__kernel void CopyBufferToImage3d16Bytes(__global uchar *src,

unit_tests/test_files/12523835541146349626_options.txt renamed to unit_tests/test_files/7030307152995455603_options.txt

File renamed without changes.

0 commit comments

Comments
 (0)