Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable tests for SYCL builds #780

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Enable tests for SYCL builds

1266f9e
Select commit
Loading
Failed to load commit list.
Open

Enable tests for SYCL builds #780

Enable tests for SYCL builds
1266f9e
Select commit
Loading
Failed to load commit list.
ci-bridge / CI Bridge / test_sycl succeeded Jul 29, 2024 in 17s

GitLab CI: SUCCESS

This check triggered job acts/ci-bridge/41756841
in pipeline acts/ci-bridge/20759
Status: SUCCESS
Created at: 2024-07-29T12:56:50.970+02:00
Started at: 2024-07-29T13:06:05.961+02:00
Finished at: 2024-07-29T13:06:22.927+02:00

Details

Running with gitlab-runner 16.4.0 (6e766faf)
  on acts-gpu-ci-1 uhtEsTX2, system ID: r_zO9zvpou11jf
section_start:1722251166:resolve_secrets
Resolving secrets
section_end:1722251166:resolve_secrets
section_start:1722251166:prepare_executor
Preparing the "docker" executor
Using Docker executor with image ghcr.io/acts-project/ubuntu2004_oneapi:v30 ...
Pulling docker image ghcr.io/acts-project/ubuntu2004_oneapi:v30 ...
Using docker image sha256:31c38821a35f53aae24cc579a33b264a54d11f16fee9434b0ec695f031975dff for ghcr.io/acts-project/ubuntu2004_oneapi:v30 with digest
ghcr.io/acts-project/ubuntu2004_oneapi@sha256:ee7ff13da1c8eb32b89b93058a40341d092e4205062d66c71f27666f5983ab8c ...
section_end:1722251168:prepare_executor
section_start:1722251168:prepare_script
Preparing environment
Running on runner-uhtestx2-project-132265-concurrent-0 via 59d8c6ef367a...
section_end:1722251168:prepare_script
section_start:1722251168:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/acts/ci-bridge/.git/
Checking out 12b1957a as detached HEAD (ref is main)...
Removing build/
Removing src/

Skipping Git submodules setup
section_end:1722251170:get_sources
section_start:1722251170:download_artifacts
Downloading artifacts
Downloading artifacts for build_sycl (41756839)...
Downloading artifacts from coordinator... ok        host=gitlab.cern.ch id=41756839 responseStatus=200 OK token=glcbt-64
section_end:1722251174:download_artifacts
section_start:1722251174:step_script
Executing "step_script" stage of the job script
Using docker image sha256:31c38821a35f53aae24cc579a33b264a54d11f16fee9434b0ec695f031975dff for ghcr.io/acts-project/ubuntu2004_oneapi:v30 with digest
ghcr.io/acts-project/ubuntu2004_oneapi@sha256:ee7ff13da1c8eb32b89b93058a40341d092e4205062d66c71f27666f5983ab8c ...
$ git clone $CLONE_URL src
Cloning into 'src'...
$ git -C src checkout $HEAD_SHA
Note: switching to '1266f9e96c6bcae7e693d0a5a3bbb015d143a79f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 1266f9e9 Enable tests for SYCL builds
$ source src/.github/ci_setup.sh SYCL
 
:: initializing oneAPI environment ...
   bash: BASH_VERSION = 5.0.17(1)-release
   args: Using "$@" for setvars.sh arguments: SYCL
:: compiler -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dpl -- latest
:: tbb -- latest
:: oneAPI environment initialized ::
 
$ cd build
$ nvidia-smi
Mon Jul 29 11:06:20 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.90.07              Driver Version: 550.90.07      CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX A4000               Off |   00000000:21:00.0 Off |                  Off |
| 41%   49C    P8             16W /  140W |       2MiB /  16376MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+
$ ctest --output-on-failure -R ".*sycl.*"
Test project /builds/acts/ci-bridge/build
    Start 8: detray_integration_test_sycl_array
1/1 Test #8: detray_integration_test_sycl_array ...   Passed    0.67 sec

100% tests passed, 0 tests failed out of 1

Total Test time (real) =   0.68 sec
$ find bin -type f -name "*sycl" -not -name "*text*" -exec {} \;
section_end:1722251181:step_script
section_start:1722251181:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1722251181:cleanup_file_variables
Job succeeded