diff options
Diffstat (limited to 'utests/compiler_movforphi_undef.cpp')
-rw-r--r-- | utests/compiler_movforphi_undef.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utests/compiler_movforphi_undef.cpp b/utests/compiler_movforphi_undef.cpp index 8f1e66e3..01eae067 100644 --- a/utests/compiler_movforphi_undef.cpp +++ b/utests/compiler_movforphi_undef.cpp @@ -42,8 +42,8 @@ static void compiler_movforphi_undef(void) OCL_NDRANGE(2); // Check result - OCL_MAP_BUFFER(0); - OCL_MAP_BUFFER(1); + OCL_MAP_BUFFER_GTT(0); + OCL_MAP_BUFFER_GTT(1); // Just compare the initial 2 data is enough for this case, as the initial 2 data must in the first // tile box and we can just get the correct coords. for (uint32_t j = 0; j < 1; ++j) @@ -52,8 +52,8 @@ static void compiler_movforphi_undef(void) if (i == 0) OCL_ASSERT(((uint32_t*)buf_data[0])[j * w + i + 1] == ((uint32_t*)buf_data[1])[j * w + i]); } - OCL_UNMAP_BUFFER(0); - OCL_UNMAP_BUFFER(1); + OCL_UNMAP_BUFFER_GTT(0); + OCL_UNMAP_BUFFER_GTT(1); OCL_CALL(clReleaseSampler, sampler); } |