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

ref: Make surface implementation more concise #861

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

Split the surface implementation

51058a6
Select commit
Loading
Failed to load commit list.
Open

ref: Make surface implementation more concise #861

Split the surface implementation
51058a6
Select commit
Loading
Failed to load commit list.
ci-bridge / CI Bridge / test_sycl succeeded Oct 29, 2024 in 16s

GitLab CI: SUCCESS

This check triggered job acts/ci-bridge/45298369
in pipeline acts/ci-bridge/24003
Status: SUCCESS
Created at: 2024-10-29T21:32:41.151+01:00
Started at: 2024-10-29T21:40:33.099+01:00
Finished at: 2024-10-29T21:40:49.822+01:00

Details

Running with gitlab-runner 16.4.0 (6e766faf)
  on acts-gpu-ci-1 uhtEsTX2, system ID: r_zO9zvpou11jf
section_start:1730234433:resolve_secrets
Resolving secrets
section_end:1730234433:resolve_secrets
section_start:1730234433:prepare_executor
Preparing the "docker" executor
Using Docker executor with image ghcr.io/acts-project/ubuntu2404_oneapi:56 ...
Pulling docker image ghcr.io/acts-project/ubuntu2404_oneapi:56 ...
Using docker image sha256:a3d311fa1d082c64ae407ca711d673a389bae9de7570a8845a34106efa60e85b for ghcr.io/acts-project/ubuntu2404_oneapi:56 with digest
ghcr.io/acts-project/ubuntu2404_oneapi@sha256:071155352846a8a34be341cf694efbb8cbb5dded89584e66b5913849f51638cf ...
section_end:1730234434:prepare_executor
section_start:1730234434:prepare_script
Preparing environment
Running on runner-uhtestx2-project-132265-concurrent-0 via 59d8c6ef367a...
section_end:1730234435:prepare_script
section_start:1730234435: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:1730234436:get_sources
section_start:1730234436:download_artifacts
Downloading artifacts
Downloading artifacts for build_sycl (45298367)...
Downloading artifacts from coordinator... ok        host=gitlab.cern.ch id=45298367 responseStatus=200 OK token=glcbt-64
section_end:1730234439:download_artifacts
section_start:1730234439:step_script
Executing "step_script" stage of the job script
Using docker image sha256:a3d311fa1d082c64ae407ca711d673a389bae9de7570a8845a34106efa60e85b for ghcr.io/acts-project/ubuntu2404_oneapi:56 with digest
ghcr.io/acts-project/ubuntu2404_oneapi@sha256:071155352846a8a34be341cf694efbb8cbb5dded89584e66b5913849f51638cf ...
$ git clone $CLONE_URL src
Cloning into 'src'...
$ git -C src checkout $HEAD_SHA
Note: switching to '51058a6cbcea2c448dbceb425e31109a1952b364'.

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 51058a6c Split the surface implementation
$ source src/.github/ci_setup.sh 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
:: oneAPI environment initialized ::
 
$ cd build
$ nvidia-smi
Tue Oct 29 20:40:42 2024       
+-----------------------------------------------------------------------------------------+
| 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%   42C    P8             15W /  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.6.0.02_160000]
$ ctest --output-on-failure -R ".*sycl.*"
Test project /builds/acts/ci-bridge/build
    Start 1: detray_integration_test_sycl_array
1/1 Test #1: detray_integration_test_sycl_array ...   Passed    5.17 sec

100% tests passed, 0 tests failed out of 1

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