summaryrefslogtreecommitdiff
path: root/utests/runtime_pipe_query.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utests/runtime_pipe_query.cpp')
-rw-r--r--utests/runtime_pipe_query.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utests/runtime_pipe_query.cpp b/utests/runtime_pipe_query.cpp
index 3ce82580..e46f5ff9 100644
--- a/utests/runtime_pipe_query.cpp
+++ b/utests/runtime_pipe_query.cpp
@@ -1,6 +1,8 @@
#include <string.h>
#include "utest_helper.hpp"
static void runtime_pipe_query(void) {
+ if(!cl_check_ocl20(false))
+ return;
const size_t w = 16;
const size_t sz = 8;
cl_uint retnum, retsz;