File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,3 +37,39 @@ test_cuda:
3737 - ctest --output-on-failure -R ".*cuda.*"
3838 - find bin -type f -name "*cuda" -not -name "*text*" -exec {} \;
3939
40+
41+ build_sycl :
42+ tags : [docker]
43+ stage : build
44+ image : " ghcr.io/acts-project/ubuntu2004_oneapi:v30"
45+ artifacts :
46+ paths :
47+ - build
48+ script :
49+ - git clone $CLONE_URL src
50+ - git -C src checkout $HEAD_SHA
51+ - >
52+ cmake -S src -B build
53+ -DCMAKE_BUILD_TYPE=Release
54+ -DDETRAY_BUILD_CUDA=OFF
55+ -DDETRAY_BUILD_SYCL=ON
56+ -DBUILD_TESTING=ON
57+ -DDETRAY_BUILD_TESTING=ON
58+ -DDETRAY_BUILD_CUDA=ON
59+ -DDETRAY_VC_PLUGIN=OFF
60+ -DDETRAY_SMATRIX_PLUGIN=OFF
61+ -DDETRAY_EIGEN_PLUGIN=ON
62+ - cmake --build build
63+
64+
65+ test_sycl :
66+ stage : test
67+ tags : [docker-gpu-nvidia]
68+ image : " ghcr.io/acts-project/ubuntu2004_oneapi:v30"
69+ needs :
70+ - build_sycl
71+ script :
72+ - cd build
73+ - nvidia-smi
74+ - ctest --output-on-failure -R ".*sycl.*"
75+ - find bin -type f -name "*sycl" -not -name "*text*" -exec {} \;
You can’t perform that action at this time.
0 commit comments