Skip to content

refactor(detray): Detray-level closed-set detector instantiation#5641

Open
paulgessinger wants to merge 6 commits into
acts-project:mainfrom
paulgessinger:refactor/detray-meta-inst
Open

refactor(detray): Detray-level closed-set detector instantiation#5641
paulgessinger wants to merge 6 commits into
acts-project:mainfrom
paulgessinger:refactor/detray-meta-inst

refactor: Move pre-instantiation to Detray itself

48a4d11
Select commit
Loading
Failed to load commit list.
ci-bridge / CI Bridge / detray_test_sycl succeeded Jul 6, 2026 in 54s

GitLab CI: SUCCESS

This check triggered job acts/ci-bridge/78122871
in pipeline acts/ci-bridge/39505
Status: SUCCESS
Created at: 2026-07-06T15:46:30.133Z
Started at: 2026-07-06T15:55:47.572Z
Finished at: 2026-07-06T15:56:41.746Z

Details

Running with gitlab-runner 16.4.0 (6e766faf)
  on acts-gpu-ci-1 t3_bzAvsW, system ID: r_zO9zvpou11jf
section_start:1783353348:resolve_secrets
Resolving secrets
section_end:1783353348:resolve_secrets
section_start:1783353348:prepare_executor
Preparing the "docker" executor
Using Docker executor with image ghcr.io/acts-project/ubuntu2404_oneapi:87 ...
Pulling docker image ghcr.io/acts-project/ubuntu2404_oneapi:87 ...
Using docker image sha256:b7ff07cc5f949c24455c2ec22602527d36fbb791f5c033370262b9811e960826 for ghcr.io/acts-project/ubuntu2404_oneapi:87 with digest
ghcr.io/acts-project/ubuntu2404_oneapi@sha256:2f20ca247e5157ab3b5bab00ac1e975cff9522ac07c4c79b8c1831c0f62d0db3 ...
section_end:1783353349:prepare_executor
section_start:1783353349:prepare_script
Preparing environment
Running on runner-t3bzavsw-project-132265-concurrent-0 via 59d8c6ef367a...
section_end:1783353350:prepare_script
section_start:1783353350: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 ccache/
Removing src/

Skipping Git submodules setup
section_end:1783353351:get_sources
section_start:1783353351:download_artifacts
Downloading artifacts
Downloading artifacts for detray_build_sycl (78122865)...
Downloading artifacts from coordinator... ok        host=gitlab.cern.ch id=78122865 responseStatus=200 OK token=glcbt-64
WARNING: build/python/detray/__init__.py: chmod build/python/detray/__init__.py: no such file or directory (suppressing repeats) 
section_end:1783353355:download_artifacts
section_start:1783353355:step_script
Executing "step_script" stage of the job script
Using docker image sha256:b7ff07cc5f949c24455c2ec22602527d36fbb791f5c033370262b9811e960826 for ghcr.io/acts-project/ubuntu2404_oneapi:87 with digest
ghcr.io/acts-project/ubuntu2404_oneapi@sha256:2f20ca247e5157ab3b5bab00ac1e975cff9522ac07c4c79b8c1831c0f62d0db3 ...
$ git clone $CLONE_URL src
Cloning into 'src'...
$ git -C src checkout $HEAD_SHA
Note: switching to '48a4d11025c2307b76d52c20977370f8de3e7c60'.

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 48a4d1102 refactor: Move pre-instantiation to Detray itself
$ source src/Detray/CI/ci_setup.sh SYCL
Setting up oneapi env for SYCL
 
:: initializing oneAPI environment ...
   bash: BASH_VERSION = 5.2.21(1)-release
   args: Using "$@" for setvars.sh arguments: --include-intel-llvm
:: compiler -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dpl -- latest
:: tbb -- latest
:: umf -- latest
:: oneAPI environment initialized ::
 
$ cd build
$ nvidia-smi
Mon Jul  6 15:56:23 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.107.02             Driver Version: 550.107.02     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%   55C    P8             18W /  140W |       2MiB /  16376MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+
$ sycl-ls
INFO: Output filtered by ONEAPI_DEVICE_SELECTOR environment variable, which is set to *:cpu.
To see device ids, use the --ignore-device-selectors CLI option.

[opencl:cpu] Intel(R) OpenCL, Intel(R) Xeon(R) W-2225 CPU @ 4.10GHz OpenCL 3.0 (Build 0) [2024.18.12.0.05_160000]
$ ctest --output-on-failure -R ".*sycl.*"
Test project /builds/acts/ci-bridge/build
    Start 1: detray_unit_test_sycl_array
    Start 2: detray_integration_test_sycl_array
1/2 Test #1: detray_unit_test_sycl_array ..........   Passed    0.68 sec
2/2 Test #2: detray_integration_test_sycl_array ...   Passed   15.63 sec

100% tests passed, 0 tests failed out of 2

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