mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Add missing type declaration (#1520)
Add a missing type declaration to OpenCL C code strings in 2D async copy tests.
This commit is contained in:
@@ -53,7 +53,7 @@ __kernel void test_fn(const __global %s *src, __global %s *dst,
|
||||
|
||||
for (int i = 0; i < lineCopiesPerWorkItem; i++) {
|
||||
for (int j = 0; j < numElementsPerLine; j++) {
|
||||
const local_index = (get_local_id(0) * lineCopiesPerWorkItem + i) * dstStride + j;
|
||||
const int local_index = (get_local_id(0) * lineCopiesPerWorkItem + i) * dstStride + j;
|
||||
const int global_index = (get_global_id(0) * lineCopiesPerWorkItem + i) * dstStride + j;
|
||||
dst[global_index] = localBuffer[local_index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user