summaryrefslogtreecommitdiff
path: root/utests/compiler_abs.cpp
diff options
context:
space:
mode:
authorJunyan He <junyan.he@linux.intel.com>2013-07-03 15:17:10 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-07-03 18:21:12 +0800
commit9cf9b570ef1853cbc5d9f5910fba4bb37a37fbf0 (patch)
tree98c5deaee75dc7f4d61206b0733d800e412bede1 /utests/compiler_abs.cpp
parent3580067c560ace6bb6ab4366ddf9391815519ab7 (diff)
Add the test case for builtin abs_diff() function
All the integer value types check are supported. Please use the case named compiler_abs_diff_xxxx, where xxxx means the data type such as int2, char4 Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'utests/compiler_abs.cpp')
-rw-r--r--utests/compiler_abs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/utests/compiler_abs.cpp b/utests/compiler_abs.cpp
index a1b14b46..9457b9bd 100644
--- a/utests/compiler_abs.cpp
+++ b/utests/compiler_abs.cpp
@@ -125,8 +125,6 @@ template <typename T, typename U> static void compiler_abs_with_type(void)
U cpu_dst[16];
T cpu_src[16];
- printf("sizeof T, is %u, sizeof U is %u\n", (int)sizeof(T), (int)sizeof(U));
-
// Setup buffers
OCL_CREATE_BUFFER(buf[0], 0, n * sizeof(T), NULL);
OCL_CREATE_BUFFER(buf[1], 0, n * sizeof(T), NULL);