diff options
Diffstat (limited to 'utests/compiler_fill_image0.cpp')
-rw-r--r-- | utests/compiler_fill_image0.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/compiler_fill_image0.cpp b/utests/compiler_fill_image0.cpp index 2fef90cf..cf76be3f 100644 --- a/utests/compiler_fill_image0.cpp +++ b/utests/compiler_fill_image0.cpp @@ -12,7 +12,7 @@ static void compiler_fill_image0(void) desc.image_type = CL_MEM_OBJECT_IMAGE2D; desc.image_width = w; desc.image_height = h; - desc.image_row_pitch = w * sizeof(uint32_t); + desc.image_row_pitch = 0; // Setup kernel and images |