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

[SYCL][CI] Improve compression performance #9675

Merged
merged 2 commits into from
Jun 2, 2023
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
8 changes: 4 additions & 4 deletions .github/workflows/sycl_linux_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ jobs:
cmake --build $GITHUB_WORKSPACE/build --target install-compiler-rt

- name: Pack toolchain
run: tar -cJf llvm_sycl.tar.xz -C $GITHUB_WORKSPACE/build/install .
run: tar -I 'zstd -9' -cf llvm_sycl.tar.zst -C $GITHUB_WORKSPACE/build/install .
- name: Upload toolchain
uses: actions/upload-artifact@v3
with:
name: sycl_linux_${{ inputs.build_artifact_suffix }}
path: llvm_sycl.tar.xz
path: llvm_sycl.tar.zst

aws-start:
name: Start AWS
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
name: Run SYCL End-to-End tests
with:
sycl_artifact: sycl_linux_${{ inputs.build_artifact_suffix }}
sycl_archive: llvm_sycl.tar.xz
sycl_archive: llvm_sycl.tar.zst
targets: ${{ matrix.targets }}
cmake_args: '${{ matrix.cmake_args }} ${{ inputs.lts_cmake_extra_args }}'

Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
with:
test_ref: ${{ inputs.cts_ref }}
sycl_artifact: sycl_linux_${{ inputs.build_artifact_suffix }}
sycl_archive: llvm_sycl.tar.xz
sycl_archive: llvm_sycl.tar.zst
sycl_device_filter: ${{ matrix.sycl_device_filter }}
cmake_args: '${{ matrix.cmake_args }} ${{ inputs.cts_cmake_extra_args }}'

Expand Down
4 changes: 2 additions & 2 deletions devops/actions/e2e-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
sycl_archive:
description: 'Name of SYCL toolchain archive file'
required: false
default: 'llvm_sycl.tar.xz'
default: 'llvm_sycl.tar.zst'
targets:
description: 'List of SYCL backends with set of target devices per each to be tested iteratively'
required: true
Expand All @@ -30,7 +30,7 @@ runs:
shell: bash
run: |
mkdir toolchain
tar -xf ${{ inputs.sycl_archive }} -C toolchain
tar -I 'zstd -d' -xf ${{ inputs.sycl_archive }} -C toolchain
rm -f ${{ inputs.sycl_archive }}
- name: Configure
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions devops/actions/khronos_cts_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
sycl_archive:
description: 'Name of SYCL toolchain archive file'
required: false
default: 'llvm_sycl.tar.xz'
default: 'llvm_sycl.tar.zst'
sycl_device_filter:
description: 'List of SYCL backends with set of target devices per each to be tested iteratively'
required: true
Expand Down Expand Up @@ -49,7 +49,7 @@ runs:
shell: bash
run: |
mkdir toolchain
tar -xf ${{ inputs.sycl_archive }} -C toolchain
tar -I 'zstd -d' -xf ${{ inputs.sycl_archive }} -C toolchain
rm -f ${{ inputs.sycl_archive }}
- name: Build SYCL-CTS
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion devops/containers/ubuntu2204_preinstalled.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ FROM $base_image:$base_tag

COPY scripts/drivers_entrypoint.sh /drivers_entrypoint.sh
RUN mkdir -p /opt/sycl
ADD llvm_sycl.tar.xz /opt/sycl
ADD llvm_sycl.tar.zst /tmp
RUN tar -I 'zstd -d' -xf /tmp/llvm_sycl.tar.zst -C /opt/sycl && rm /tmp/llvm_sycl.tar.zst

ENV PATH /opt/sycl/bin:$PATH
ENV LD_LIBRARY_PATH /opt/sycl/lib:$LD_LIBRARY_PATH
Expand Down