diff --git a/.github/workflows/sycl.yml b/.github/workflows/oneapi.yml similarity index 81% rename from .github/workflows/sycl.yml rename to .github/workflows/oneapi.yml index 5a71473..e2473ff 100644 --- a/.github/workflows/sycl.yml +++ b/.github/workflows/oneapi.yml @@ -37,3 +37,9 @@ jobs: run: ./openmp-offload/XSBench -m event -s small -G hash - name: run openmp-offload unionized run: ./openmp-offload/XSBench -m event -s small -G unionized + - name: install opencl packages + run: | + apt-get -y update && apt-get install -y --no-install-recommends intel-oneapi-runtime-opencl clinfo opencl-headers intel-opencl-icd + clinfo + - name: make opencl + run: cd opencl; COMPILER=gnu make -j4 diff --git a/opencl/Makefile b/opencl/Makefile index 9c5cb90..cdc49b0 100644 --- a/opencl/Makefile +++ b/opencl/Makefile @@ -2,11 +2,11 @@ # User Options #=============================================================================== -COMPILER = gnu -OPTIMIZE = yes -DEBUG = no -PROFILE = no -MPI = no +COMPILER ?= gnu +OPTIMIZE ?= yes +DEBUG ?= no +PROFILE ?= no +MPI ?= no #=============================================================================== # Program name & source code list