summaryrefslogtreecommitdiff
path: root/utests/compiler_mul24.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utests/compiler_mul24.cpp')
-rw-r--r--utests/compiler_mul24.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/compiler_mul24.cpp b/utests/compiler_mul24.cpp
index 8a369476..f1a9a40c 100644
--- a/utests/compiler_mul24.cpp
+++ b/utests/compiler_mul24.cpp
@@ -29,7 +29,7 @@ void compiler_mul24(void)
OCL_MAP_BUFFER(2);
for (int i = 0; i < n; ++i)
- OCL_ASSERT(((int*)buf_data[2])[i] == ((src1[i] << 8) >> 8) * ((src2[i] << 8) >> 8));
+ OCL_ASSERT(((int*)buf_data[2])[i] == (src1[i]) * (src2[i]));
OCL_UNMAP_BUFFER(2);
}