diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/main.cpp b/tests/main.cpp index aaae99157a..7616dbe225 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -76,7 +76,10 @@ int main(int argc, char **argv) { #ifdef ARM_COMPUTE_CL CLTuner cl_tuner(false); - CLScheduler::get().default_init(&cl_tuner); + if(opencl_is_available()) + { + CLScheduler::get().default_init(&cl_tuner); + } #endif /* ARM_COMPUTE_CL */ #ifdef ARM_COMPUTE_GC |