summaryrefslogtreecommitdiff
path: root/utests/compiler_double_convert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utests/compiler_double_convert.cpp')
-rw-r--r--utests/compiler_double_convert.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/utests/compiler_double_convert.cpp b/utests/compiler_double_convert.cpp
index 9c5c97ba..30787d2c 100644
--- a/utests/compiler_double_convert.cpp
+++ b/utests/compiler_double_convert.cpp
@@ -613,8 +613,7 @@ void compiler_float_convert_double(void)
OCL_MAP_BUFFER(1);
for (int32_t i = 0; i < (int32_t) n; ++i) {
//printf("%f, \t%f\n", ((double*)buf_data[1])[i], cpu_dst[i]);
- OCL_ASSERT(((double*)buf_data[2])[i] == cpu_dst0[i]);
- OCL_ASSERT(((double*)buf_data[3])[i] == cpu_dst1[i]);
+ OCL_ASSERT(((double*)buf_data[1])[i] == cpu_dst[i]);
}
OCL_UNMAP_BUFFER(1);
}