Skip to content

Commit

Permalink
ci: add opencl build to oneapi ci
Browse files Browse the repository at this point in the history
Running fails with no useful error on github CI
  • Loading branch information
bd4 committed Jul 14, 2023
1 parent db09020 commit f3cf732
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/sycl.yml → .github/workflows/oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions opencl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3cf732

Please sign in to comment.