summaryrefslogtreecommitdiff
path: root/utests/compiler_fill_image_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utests/compiler_fill_image_3d.cpp')
-rw-r--r--utests/compiler_fill_image_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utests/compiler_fill_image_3d.cpp b/utests/compiler_fill_image_3d.cpp
index ec96e80e..fd84e762 100644
--- a/utests/compiler_fill_image_3d.cpp
+++ b/utests/compiler_fill_image_3d.cpp
@@ -39,12 +39,12 @@ static void compiler_fill_image_3d(void)
OCL_NDRANGE(3);
// Check result
- OCL_MAP_BUFFER(0);
+ OCL_MAP_BUFFER_GTT(0);
for (uint32_t k = 0; k < depth; k++)
for (uint32_t j = 0; j < h; ++j)
for (uint32_t i = 0; i < w; i++)
OCL_ASSERT(((uint32_t*)buf_data[0])[k*w*h + j*w + i] == 0x78563412);
- OCL_UNMAP_BUFFER(0);
+ OCL_UNMAP_BUFFER_GTT(0);
}
MAKE_UTEST_FROM_FUNCTION(compiler_fill_image_3d);