File tree Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 81
81
- ' ["Linux", "gen12"]'
82
82
- ' ["amdgpu"]'
83
83
- ' ["Linux", "arc"]'
84
+ - ' ["cts-cpu"]'
84
85
image :
85
86
description : |
86
87
Use option ending with ":build" for AMDGPU, ":latest" for the rest.
@@ -286,10 +287,27 @@ jobs:
286
287
-DDPCPP_INSTALL_DIR="$$(dirname (which clang++))/.." \
287
288
$CMAKE_EXTRA_ARGS
288
289
ninja -C build-cts
290
+
291
+ - name : SYCL CTS List devices
292
+ if : inputs.tests_selector == 'cts'
293
+ run : |
294
+ ./build-cts/bin/test_all --list-devices
295
+
289
296
- name : Run SYCL CTS tests
290
297
if : inputs.tests_selector == 'cts'
291
298
env :
292
299
ONEAPI_DEVICE_SELECTOR : ${{ inputs.target_devices }}
300
+ # FIXME: For some reason the "sub_group api" test-case is failing with
301
+ # SIGSEGV while running test_all, so running each binary separately.
302
+ # BTW test_all requires a lot of resources to build it, so probably it'll
303
+ # be better to build each binary also separately.
304
+ # run: |
305
+ # ./build-cts/bin/test_all $CTS_TEST_ARGS
293
306
run : |
294
- ./build-cts/bin/test_all --list-devices
295
- ./build-cts/bin/test_all $CTS_TEST_ARGS
307
+ for i in `ls -1 ./build-cts/bin`; do
308
+ if [ "$i" != "test_all" ]; then
309
+ echo "::group::Running $i"
310
+ build-cts/bin/$i
311
+ echo "::endgroup::"
312
+ fi
313
+ done
Original file line number Diff line number Diff line change @@ -71,13 +71,21 @@ jobs:
71
71
image : ghcr.io/intel/llvm/ubuntu2204_build:latest
72
72
image_options : -u 1001 --gpus all --cap-add SYS_ADMIN
73
73
target_devices : ext_oneapi_cuda:gpu
74
+
75
+ - name : SYCL-CTS
76
+ runner : ' ["cts-cpu"]'
77
+ image : ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
78
+ image_options : -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
79
+ target_devices : opencl:cpu
80
+ tests_selector : cts
74
81
uses : ./.github/workflows/sycl-linux-run-tests.yml
75
82
with :
76
83
name : ${{ matrix.name }}
77
84
runner : ${{ matrix.runner }}
78
85
image : ${{ matrix.image }}
79
86
image_options : ${{ matrix.image_options }}
80
87
target_devices : ${{ matrix.target_devices }}
88
+ tests_selector : ${{ matrix.tests_selector }}
81
89
reset_gpu : ${{ matrix.reset_gpu }}
82
90
ref : ${{ github.sha }}
83
91
merge_ref : ' '
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ vector_operators
18
18
vector_swizzle_assignment
19
19
vector_swizzles
20
20
kernel_bundle
21
- specialization_constants
21
+ spec_constants
22
22
device_selector
23
23
math_builtin_api
24
24
stream
You can’t perform that action at this time.
0 commit comments