Skip to content

Commit

Permalink
Enable more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ianayl committed Jan 17, 2025
1 parent f027f8e commit 08388fa
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/sycl-linux-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jobs:
build_cache_suffix: "default_benchmark"
build_image: ${{ inputs.image }}
skip_build: ${{ inputs.sycl_toolchain_archive != '' }}
# skip_reason only used if skip_build is true
skip_reason: "SYCL toolchain artifact already provided, no build necessary"

run_benchmarks:
Expand Down Expand Up @@ -217,7 +218,7 @@ jobs:
rm -f ${{ inputs.sycl_toolchain_archive || needs.check_build.outputs.artifact_archive_name }}
echo PATH=$PWD/toolchain/bin/:$PATH >> $GITHUB_ENV
echo LD_LIBRARY_PATH=$PWD/toolchain/lib/:$LD_LIBRARY_PATH >> $GITHUB_ENV
- name: Debug: Print IGC tag
- name: Print IGC tag [Debug]
run: |
if [ -f /usr/local/lib/igc/IGCTAG.txt ]; then
cat /usr/local/lib/igc/IGCTAG.txt
Expand All @@ -235,6 +236,7 @@ jobs:
env:
SSH_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
run: |
# TODO -- waiting on security clearance
mkdir -p .ssh
echo "$SSH_KEY" > .ssh/id_rsa
chmod 600 .ssh/id_rsa
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sycl-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ on:
required: false
skip_reason:
description: |
Reason for skipping the build.
Message displayed for skipping the build: Only used if skip_build is
true.
type: string
default: "inputs.skip-reason set to true."
ref:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,16 @@ jobs:
env | sort > env_after
comm -13 env_before env_after >> $GITHUB_ENV
rm env_before env_after
- name: Download SYCL toolchain
if: inputs.sycl_toolchain_artifact != '' && github.event_name != 'workflow_run'
uses: actions/download-artifact@v4
with:
name: ${{ inputs.sycl_toolchain_artifact }}
- name: Debug prints [workflow_run]
if: inputs.sycl_toolchain_artifact != '' && github.event_name == 'workflow_run'
run: |
pwd
ls
- name: Download SYCL toolchain [workflow_run]
if: inputs.sycl_toolchain_artifact != '' && github.event_name == 'workflow_run'
uses: actions/github-script@v7
Expand All @@ -291,6 +295,8 @@ jobs:
- name: Unzip artifact [workflow_run]
if: inputs.sycl_toolchain_artifact != '' && github.event_name == 'workflow_run'
run: |
pwd
ls
unzip ${{ inputs.sycl_toolchain_artifact }}.zip
rm ${{ inputs.sycl_toolchain_artifact }}.zip
- name: Extract/Setup SYCL toolchain
Expand Down
12 changes: 12 additions & 0 deletions devops/scripts/benchmarking/enabled_tests.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Test cases to be enabled:
api_overhead_benchmark_sycl
memory_benchmark_sycl
algorithm_benchmark
atomic_benchmark
emu_benchmark
eu_benchmark
gpu_cmds_benchmark
miscellaneous_benchmark
mpi_benchmark
multiprocess_benchmark
multithread_benchmark
multitile_memory_benchmark
p2p_benchmark
ulls_benchmark

0 comments on commit 08388fa

Please sign in to comment.