-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (41 loc) · 1.32 KB
/
sycl.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: sycl
on:
push:
branches:
- 'master'
tags:
- 'v*'
pull_request:
branches:
- '*'
jobs:
hipsycl-clang14-omp-docker:
name: hipsycl-clang14-omp-docker
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: build docker
run: |
docker build . --tag nmtools:sycl-clang14-omp --file docker/sycl.dockerfile
- name: run tests
run: |
docker run --rm nmtools:sycl-clang14-omp
hipsycl-clang14-opencl-docker:
name: hipsycl-clang14-opencl-docker
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: build docker
run: |
docker build . --tag nmtools:sycl-clang14-opencl --build-arg opencl_backend=ON --build-arg toolchain=sycl-clang14-generic --file docker/sycl.dockerfile
- name: run tests
run: |
docker run -e NMTOOLS_SYCL_DEFAULT_PLATFORM=opencl --rm nmtools:sycl-clang14-opencl
hipsycl-clang14-cuda-docker:
name: hipsycl-clang14-cuda-docker
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: build docker
run: |
docker build . --tag nmtools:sycl-clang14-cuda --build-arg BASE=nvidia/cuda:11.8.0-devel-ubuntu22.04 --build-arg cuda_backend=ON --build-arg toolchain=sycl-clang14-cuda --file docker/sycl.dockerfile