Skip to content

Commit

Permalink
Build SYCL on same machine as the test are run on and reactivate tests (
Browse files Browse the repository at this point in the history
#860)

Use the gpu machine for the build to see if that avoids the test failure
  • Loading branch information
niermann999 authored Oct 16, 2024
1 parent ce2f877 commit a1a2a3e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test_cuda:


build_sycl:
tags: [docker]
tags: [docker-gpu-nvidia]
stage: build
image: "ghcr.io/acts-project/ubuntu2404_oneapi:56"
artifacts:
Expand All @@ -61,20 +61,20 @@ build_sycl:
- cmake --build build


#test_sycl:
# stage: test
# tags: [docker-gpu-nvidia]
# image: "ghcr.io/acts-project/ubuntu2404_oneapi:56"
# needs:
# - build_sycl
# variables:
# ONEAPI_DEVICE_SELECTOR: "*:cpu"
# script:
# - git clone $CLONE_URL src
# - git -C src checkout $HEAD_SHA
# - source src/.github/ci_setup.sh SYCL
# - cd build
# - nvidia-smi
# - sycl-ls
# - ctest --output-on-failure -R ".*sycl.*"
# - find bin -type f -name "*sycl" -not -name "*text*" -exec {} \;
test_sycl:
stage: test
tags: [docker-gpu-nvidia]
image: "ghcr.io/acts-project/ubuntu2404_oneapi:56"
needs:
- build_sycl
variables:
ONEAPI_DEVICE_SELECTOR: "*:cpu"
script:
- git clone $CLONE_URL src
- git -C src checkout $HEAD_SHA
- source src/.github/ci_setup.sh SYCL
- cd build
- nvidia-smi
- sycl-ls
- ctest --output-on-failure -R ".*sycl.*"
- find bin -type f -name "*sycl" -not -name "*text*" -exec {} \;

0 comments on commit a1a2a3e

Please sign in to comment.