summaryrefslogtreecommitdiff
path: root/utests/compiler_time_stamp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utests/compiler_time_stamp.cpp')
-rw-r--r--utests/compiler_time_stamp.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/utests/compiler_time_stamp.cpp b/utests/compiler_time_stamp.cpp
index e3765222..43165c17 100644
--- a/utests/compiler_time_stamp.cpp
+++ b/utests/compiler_time_stamp.cpp
@@ -16,8 +16,10 @@ static void cpu(int global_id, int *src, int *dst) {
void compiler_time_stamp(void)
{
- if (!cl_check_beignet())
+ if (!cl_check_beignet()) {
+ printf("Not beignet device , Skip!");
return;
+ }
const size_t n = 16;
int cpu_dst[16], cpu_src[16];