Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,27 @@ jobs:
- name: List excluded SYCL CTS categories
if: inputs.tests_selector == 'cts' && env.CTS_TESTS_TO_BUILD == ''
run: |
cat $PWD/devops/cts_exclude_filter
if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
cat $PWD/devops/cts_exclude_filter_OCL_CPU
fi
if [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
cat $PWD/devops/cts_exclude_filter_L0_GPU
fi
Comment on lines +306 to +311
Copy link
Contributor

@aelovikov-intel aelovikov-intel Jul 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, we should drop this step and print that information after we've selected the right file. I'm ok if that will be done in another PR though.

- name: Build SYCL CTS tests
if: inputs.tests_selector == 'cts'
env:
CMAKE_EXTRA_ARGS: ${{ inputs.extra_cmake_args }}
run: |
# Do not exclude any category if passing the CTS_TESTS_TO_BUILD variable.
cts_exclude_filter=$([ -n "$CTS_TESTS_TO_BUILD" ] && echo "" || echo "$PWD/devops/cts_exclude_filter")
cts_exclude_filter=""
if [ -z "$CTS_TESTS_TO_BUILD" ]; then
if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
cts_exclude_filter=$PWD/devops/cts_exclude_filter_OCL_CPU
fi
if [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
cts_exclude_filter=$PWD/devops/cts_exclude_filter_L0_GPU
fi
fi

cmake -GNinja -B./build-cts -S./khronos_sycl_cts -DCMAKE_CXX_COMPILER=$(which clang++) \
-DSYCL_IMPLEMENTATION=DPCPP \
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/sycl-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ jobs:
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
target_devices: opencl:cpu
tests_selector: cts

- name: SYCL-CTS on L0 gen12
runner: '["Linux", "gen12"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
target_devices: level_zero:gpu
tests_selector: cts
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
Expand Down
5 changes: 5 additions & 0 deletions devops/cts_exclude_filter_L0_GPU
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These two take too much time
kernel_bundle
marray
# No issue created yet
optional_kernel_features
File renamed without changes.