diff --git a/simple-opencl-no-clang/.runtest.sh.swp b/simple-opencl-no-clang/.runtest.sh.swp deleted file mode 100644 index ebc7ebe..0000000 Binary files a/simple-opencl-no-clang/.runtest.sh.swp and /dev/null differ diff --git a/simple-opencl-no-clang/runtest.sh b/simple-opencl-no-clang/runtest.sh index b42e68d..4dbfa1e 100755 --- a/simple-opencl-no-clang/runtest.sh +++ b/simple-opencl-no-clang/runtest.sh @@ -6,6 +6,6 @@ if dnf list installed | grep '^clang\.'; then exit 1 fi -gcc -lOpenCL -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -o pocl-test pocl-test.c +gcc -lOpenCL -DCL_TARGET_OPENCL_VERSION=120 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -o pocl-test pocl-test.c ./pocl-test