summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utests/builtin_lgamma.cpp2
-rw-r--r--utests/builtin_lgamma_r.cpp2
-rw-r--r--utests/builtin_tgamma.cpp2
-rw-r--r--utests/image_1D_buffer.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/utests/builtin_lgamma.cpp b/utests/builtin_lgamma.cpp
index 876699ab..57945def 100644
--- a/utests/builtin_lgamma.cpp
+++ b/utests/builtin_lgamma.cpp
@@ -29,7 +29,7 @@ void builtin_lgamma(void) {
float cpu = lgamma(src[i]);
float gpu = dst[i];
if (fabsf(cpu - gpu) >= 1e-3) {
- printf("%f %f %f\n", src[i], cpu, gpu);
+ printf("%f %f %f", src[i], cpu, gpu);
OCL_ASSERT(0);
}
}
diff --git a/utests/builtin_lgamma_r.cpp b/utests/builtin_lgamma_r.cpp
index b6e5d0ee..0258767d 100644
--- a/utests/builtin_lgamma_r.cpp
+++ b/utests/builtin_lgamma_r.cpp
@@ -34,7 +34,7 @@ void builtin_lgamma_r(void) {
int gpu_signp = ((int*)buf_data[2])[i];
float gpu = dst[i];
if (cpu_signp != gpu_signp || fabsf(cpu - gpu) >= 1e-3) {
- printf("%f %f %f\n", src[i], cpu, gpu);
+ printf("%f %f %f", src[i], cpu, gpu);
OCL_ASSERT(0);
}
}
diff --git a/utests/builtin_tgamma.cpp b/utests/builtin_tgamma.cpp
index 204f49ed..eb6bdd7b 100644
--- a/utests/builtin_tgamma.cpp
+++ b/utests/builtin_tgamma.cpp
@@ -46,7 +46,7 @@ void builtin_tgamma(void)
if (std::isinf(cpu)) {
OCL_ASSERT(std::isinf(dst[i]));
} else if (fabsf(cpu - dst[i]) >= cl_FLT_ULP(cpu) * ULPSIZE_FACTOR) {
- printf("%f %f %f\n", src[i], cpu, dst[i]);
+ printf("%f %f %f", src[i], cpu, dst[i]);
OCL_ASSERT(0);
}
}
diff --git a/utests/image_1D_buffer.cpp b/utests/image_1D_buffer.cpp
index f2eb7a3b..66eb6e79 100644
--- a/utests/image_1D_buffer.cpp
+++ b/utests/image_1D_buffer.cpp
@@ -55,7 +55,7 @@ void image_1D_buffer(void)
OCL_MAP_BUFFER(1);
for (uint32_t i = 0; i < buffer_sz; i++) {
if (((uint32_t*)buf_data[1])[i] != ((uint32_t*)buf_data[0])[i])
- printf("i %d expected %x got %x \n", i, ((uint32_t*)buf_data[0])[i], ((uint32_t*)buf_data[1])[i]);
+ printf("i %d expected %x got %x", i, ((uint32_t*)buf_data[0])[i], ((uint32_t*)buf_data[1])[i]);
OCL_ASSERT(((uint32_t*)buf_data[1])[i] == ((uint32_t*)buf_data[0])[i]);
}
OCL_UNMAP_BUFFER(0);