-
Notifications
You must be signed in to change notification settings - Fork 769
[CI] Run SYCL-CTS with the latest nightly #12811
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
Changes from 8 commits
199dae0
918399f
d83b5cb
cd94539
7f1cc2f
f66807d
a2a2652
c97e9dc
441647a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,7 @@ on: | |
- '["Linux", "gen12"]' | ||
- '["amdgpu"]' | ||
- '["Linux", "arc"]' | ||
- '["cts-cpu"]' | ||
image: | ||
description: | | ||
Use option ending with ":build" for AMDGPU, ":latest" for the rest. | ||
|
@@ -286,10 +287,27 @@ jobs: | |
-DDPCPP_INSTALL_DIR="$$(dirname (which clang++))/.." \ | ||
$CMAKE_EXTRA_ARGS | ||
ninja -C build-cts | ||
|
||
- name: [CTS] List devices | ||
if: inputs.tests_selector == 'cts' | ||
run: | | ||
./build-cts/bin/test_all --list-devices | ||
|
||
- name: Run SYCL CTS tests | ||
if: inputs.tests_selector == 'cts' | ||
env: | ||
ONEAPI_DEVICE_SELECTOR: ${{ inputs.target_devices }} | ||
# FIXME: For some reason the "sub_group api" test-case is failing with | ||
# SIGSEGV while running test_all, so running each binary separately. | ||
# BTW test_all requires a lot of resources to build it, so probably it'll | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we try per-source kernel splitting maybe? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will this improve compilation time for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can't imagine other reasons for the slowdown... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
# be better to build each binary also separately. | ||
# run: | | ||
# ./build-cts/bin/test_all $CTS_TEST_ARGS | ||
run: | | ||
./build-cts/bin/test_all --list-devices | ||
./build-cts/bin/test_all $CTS_TEST_ARGS | ||
for i in `ls -1 ./build-cts/bin`; do | ||
if [ "$i" != "test_all" ]; then | ||
echo "::group::Running $i" | ||
build-cts/bin/$i | ||
echo "::endgroup::" | ||
fi | ||
done |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,22 @@ jobs: | |
runner: '["Windows","gen12"]' | ||
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }} | ||
|
||
sycl-cts: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can actually merge that into the e2e matrix. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 441647a |
||
needs: [ubuntu2204_build] | ||
uses: ./.github/workflows/sycl-linux-run-tests.yml | ||
with: | ||
name: SYCL-CTS | ||
runner: '["cts-cpu"]' | ||
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest | ||
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN | ||
target_devices: opencl:cpu | ||
tests_selector: cts | ||
install_drivers: false | ||
ref: ${{ github.sha }} | ||
sycl_toolchain_artifact: sycl_linux_default | ||
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }} | ||
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }} | ||
|
||
nightly_build_upload: | ||
name: Nightly Build Upload | ||
if: ${{ github.ref_name == 'sycl' }} | ||
|
Uh oh!
There was an error while loading. Please reload this page.