@@ -106,108 +106,3 @@ jobs:
106106
107107 ccache -s
108108 du -hs ~/.cache/ccache
109-
110- tests-oneapi-sycl-eb-nvidia :
111- name : oneAPI SYCL for Nvidia GPUs [tests w/ EB]
112- runs-on : ubuntu-latest
113- needs : check_changes
114- # if: needs.check_changes.outputs.has_non_docs_changes == 'true'
115- if : 0
116- steps :
117- - uses : actions/checkout@v5
118- - name : Dependencies
119- run : |
120- .github/workflows/dependencies/ubuntu_free_disk_space.sh
121- .github/workflows/dependencies/dependencies_dpcpp.sh
122- .github/workflows/dependencies/dependencies_nvcc.sh 12.0
123- .github/workflows/dependencies/dependencies_codeplay.sh oneapi-nvidia-12.0
124- .github/workflows/dependencies/dependencies_ccache.sh
125- - name : Set Up Cache
126- uses : actions/cache@v4
127- with :
128- path : ~/.cache/ccache
129- key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
130- restore-keys : |
131- ccache-${{ github.workflow }}-${{ github.job }}-git-
132- - name : Build & Install
133- env : {CXXFLAGS: "-fsycl -fsycl-targets=nvptx64-nvidia-cuda -Xsycl-target-backend --offload-arch=sm_80 -fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor"}
134- run : |
135- export CCACHE_COMPRESS=1
136- export CCACHE_COMPRESSLEVEL=10
137- export CCACHE_MAXSIZE=100M
138- export CCACHE_DEPEND=1
139- ccache -z
140-
141- set +e
142- source /opt/intel/oneapi/setvars.sh --include-intel-llvm
143- set -e
144- # WATCH: Test is disabled due to a compiler issue with some math functions.
145- # The fix did not make it to the next oneAPI release. So we will
146- # enable it again after the next next oneAPI release.
147- cmake -S . -B build \
148- -DCMAKE_VERBOSE_MAKEFILE=ON \
149- -DAMReX_EB=ON \
150- -DAMReX_ENABLE_TESTS=OFF \
151- -DAMReX_TEST_TYPE=Small \
152- -DAMReX_GPU_BACKEND=SYCL \
153- -DAMReX_SYCL_AOT=ON \
154- -DAMReX_INTEL_ARCH=pvc \
155- -DCMAKE_C_COMPILER=$(which icx) \
156- -DCMAKE_CXX_COMPILER=$(which clang++) \
157- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
158- -DAMReX_PARALLEL_LINK_JOBS=4
159- cmake --build build --parallel 4
160-
161- ccache -s
162- du -hs ~/.cache/ccache
163-
164- no-tests-oneapi-sycl-amd :
165- name : oneAPI SYCL for AMD GPUs
166- runs-on : ubuntu-22.04
167- needs : check_changes
168- # if: needs.check_changes.outputs.has_non_docs_changes == 'true'
169- if : 0
170- steps :
171- - uses : actions/checkout@v5
172- - name : Dependencies
173- run : |
174- .github/workflows/dependencies/ubuntu_free_disk_space.sh
175- .github/workflows/dependencies/dependencies_dpcpp.sh
176- .github/workflows/dependencies/dependencies_hip.sh 5.4.3
177- .github/workflows/dependencies/dependencies_codeplay.sh oneapi-amd-5.4.3
178- .github/workflows/dependencies/dependencies_ccache.sh
179- - name : Set Up Cache
180- uses : actions/cache@v4
181- with :
182- path : ~/.cache/ccache
183- key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
184- restore-keys : |
185- ccache-${{ github.workflow }}-${{ github.job }}-git-
186- - name : Build & Install
187- env : {CXXFLAGS: "-fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend --offload-arch=gfx90a -fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor"}
188- run : |
189- export CCACHE_COMPRESS=1
190- export CCACHE_COMPRESSLEVEL=10
191- export CCACHE_MAXSIZE=100M
192- export CCACHE_DEPEND=1
193- ccache -z
194-
195- set +e
196- source /opt/intel/oneapi/setvars.sh --include-intel-llvm
197- set -e
198- cmake -S . -B build \
199- -DCMAKE_VERBOSE_MAKEFILE=ON \
200- -DAMReX_EB=OFF \
201- -DAMReX_ENABLE_TESTS=OFF \
202- -DAMReX_GPU_BACKEND=SYCL \
203- -DAMReX_SYCL_AOT=ON \
204- -DAMReX_INTEL_ARCH=pvc \
205- -DAMReX_SYCL_SUB_GROUP_SIZE=64 \
206- -DCMAKE_C_COMPILER=$(which icx) \
207- -DCMAKE_CXX_COMPILER=$(which clang++) \
208- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
209- -DAMReX_PARALLEL_LINK_JOBS=4
210- cmake --build build --parallel 4
211-
212- ccache -s
213- du -hs ~/.cache/ccache
0 commit comments