-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from bd4/pr/oneapi-2023
Pr/oneapi 2023
- Loading branch information
Showing
10 changed files
with
144 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: CUDA Tests | ||
|
||
on: | ||
push: | ||
branches: [ master, 'pr/*' ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build-cuda: | ||
runs-on: ubuntu-latest | ||
container: nvidia/cuda:11.0.3-devel-ubuntu20.04 | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
BACKEND: cuda | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: make | ||
run: cd $BACKEND; make -j4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: HIP Tests | ||
|
||
on: | ||
push: | ||
branches: [ master, 'pr/*' ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build-hip: | ||
runs-on: ubuntu-latest | ||
container: rocm/dev-ubuntu-22.04:5.4.2-complete | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
BACKEND: hip | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: make | ||
run: cd $BACKEND; make -j4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: OMP Tests | ||
|
||
on: | ||
push: | ||
branches: [ master, 'pr/*' ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
omp-run-cpu: | ||
runs-on: ubuntu-latest | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
CC: gcc | ||
BACKEND: openmp-threading | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: make | ||
run: cd $BACKEND; make -j4 | ||
- name: run nuclide | ||
run: ./$BACKEND/XSBench -m event -s small -G nuclide | ||
- name: run hash | ||
run: ./$BACKEND/XSBench -m event -s small -G hash | ||
- name: run unionized | ||
run: ./$BACKEND/XSBench -m event -s small -G unionized |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: SYCL Tests | ||
|
||
on: | ||
push: | ||
branches: [ master, 'pr/*' ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
sycl-oneapi-run-cpu: | ||
runs-on: ubuntu-latest | ||
container: intel/oneapi-basekit:2023.1.0-devel-ubuntu22.04 | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
ONEAPI_DEVICE_SELECTOR: opencl:cpu | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: sycl-ls | ||
run: | | ||
which sycl-ls | ||
sycl-ls | ||
- name: make sycl | ||
run: cd sycl; CC=oneapi make -j4 | ||
- name: run sycl nuclide | ||
run: ./sycl/XSBench -m event -s small -G nuclide | ||
- name: run sycl hash | ||
run: ./sycl/XSBench -m event -s small -G hash | ||
- name: run sycl unionized | ||
run: ./sycl/XSBench -m event -s small -G unionized | ||
- name: make openmp-offload | ||
run: cd openmp-offload; COMPILER=intel make -j4 | ||
- name: run openmp-offload nuclide | ||
run: ./openmp-offload/XSBench -m event -s small -G nuclide | ||
- name: run openmp-offload hash | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.o | ||
*/XSBench |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters