Skip to content

Commit acfd23a

Browse files
"ock" input becomes "opencl" for sycl_cts build/test - and rename artefacts and .csv files; no downloads
1 parent 1311d17 commit acfd23a

File tree

6 files changed

+13
-16
lines changed

6 files changed

+13
-16
lines changed

.github/actions/do_build_sycl_cts/action.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ inputs:
55
target:
66
description: 'target architecture'
77
sycl_device:
8-
description: '"ock" or "native_cpu"'
9-
default: 'ock'
8+
description: '"opencl" or "native_cpu"'
9+
default: 'opencl'
1010
download_sycl_cts_artefact:
1111
description: 'download sycl_cts artefact rather than building, of form <target>=id;<target2=id2>.'
1212
default: ''
@@ -25,14 +25,14 @@ runs:
2525
uses: llvm/actions/install-ninja@main
2626

2727
- name: download icd artifact
28-
if: inputs.sycl_device == 'ock' && contains(inputs.download_sycl_cts_artefact, inputs.target) != true
28+
if: inputs.sycl_device == 'opencl' && contains(inputs.download_sycl_cts_artefact, inputs.target) != true
2929
uses: actions/download-artifact@v4
3030
with:
3131
name: icd_${{inputs.target}}
3232
path: install_icd
3333

3434
- name: download headers artifact
35-
if: inputs.sycl_device == 'ock' && contains(inputs.download_sycl_cts_artefact, inputs.target) != true
35+
if: inputs.sycl_device == 'opencl' && contains(inputs.download_sycl_cts_artefact, inputs.target) != true
3636
uses: actions/download-artifact@v4
3737
with:
3838
name: header_${{inputs.target}}
@@ -77,7 +77,7 @@ runs:
7777
git -C SYCL-CTS.src apply "$patch"
7878
fi
7979
done
80-
if [[ "${{inputs.sycl_device}}" = "ock" ]] ; then
80+
if [[ "${{inputs.sycl_device}}" = "opencl" ]] ; then
8181
DEV_OPTS="-DOpenCL_LIBRARY=$GITHUB_WORKSPACE/install_icd/lib/libOpenCL.so -DOpenCL_INCLUDE_DIR=$GITHUB_WORKSPACE/install_headers/include"
8282
else # native_cpu
8383
DEV_OPTS="-DSYCL_CTS_ENABLE_OPENCL_INTEROP_TESTS=OFF -DDPCPP_FLAGS='-fsycl-targets=native_cpu'"

.github/actions/run_sycl_cts/action.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ inputs:
55
target:
66
description: 'target architecture'
77
sycl_device:
8-
description: '"ock" or "native_cpu"'
9-
default: 'ock'
8+
description: '"opencl" or "native_cpu"'
9+
default: 'opencl'
1010

1111
runs:
1212
using: "composite"
@@ -21,7 +21,7 @@ runs:
2121
uses: llvm/actions/install-ninja@main
2222

2323
- name: download ock artifact
24-
if: inputs.sycl_device == 'ock'
24+
if: inputs.sycl_device == 'opencl'
2525
uses: actions/download-artifact@v4
2626
with:
2727
name: ock_${{inputs.target}}
@@ -62,7 +62,7 @@ runs:
6262
run: |
6363
echo running sycl cts
6464
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/install_dpcpp/lib
65-
if [[ "${{inputs.sycl_device}}" = "ock" ]] ; then
65+
if [[ "${{inputs.sycl_device}}" = "opencl" ]] ; then
6666
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/install_ock/lib
6767
export ONEAPI_DEVICE_SELECTOR=opencl:0
6868
export OCL_ICD_FILENAMES=$GITHUB_WORKSPACE/install_ock/lib/libCL.so

.github/workflows/planned_testing.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -315,11 +315,11 @@ jobs:
315315
fail-fast: false # let all matrix jobs complete
316316
matrix:
317317
target: ${{ fromJson(inputs.target_list) }}
318-
sycl_device: [ 'ock', 'native_cpu' ]
318+
sycl_device: [ 'opencl', 'native_cpu' ]
319319
# TODO: For now just linux x86_64 & aarch64
320320
exclude:
321321
- sycl_device: ${{ ! inputs.native_cpu && 'native_cpu' }}
322-
- sycl_device: ${{ ! inputs.ock && 'ock' }}
322+
- sycl_device: ${{ ! inputs.ock && 'opencl' }}
323323
- ${{ fromJson(needs.workflow_vars.outputs.matrix_only_linux_x86_64_aarch64) }}
324324

325325
runs-on: ${{ contains(matrix.target, 'host_aarch64') && 'cp-graviton' || 'cp-ubuntu-24.04' }}
@@ -352,11 +352,11 @@ jobs:
352352
fail-fast: false # let all matrix jobs complete
353353
matrix:
354354
target: ${{ fromJson(inputs.target_list) }}
355-
sycl_device: [ 'ock', 'native_cpu' ]
355+
sycl_device: [ 'opencl', 'native_cpu' ]
356356
# TODO: For now just linux x86_64 and aarch64
357357
exclude:
358358
- sycl_device: ${{ ! inputs.native_cpu && 'native_cpu' }}
359-
- sycl_device: ${{ ! inputs.ock && 'ock' }}
359+
- sycl_device: ${{ ! inputs.ock && 'opencl' }}
360360
- ${{ fromJson(needs.workflow_vars.outputs.matrix_only_linux_x86_64_aarch64) }}
361361

362362
runs-on: ${{ contains(matrix.target, 'host_aarch64') && 'cp-graviton' || 'cp-ubuntu-24.04' }}

.github/workflows/planned_testing_caller.yml

-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ jobs:
4040

4141
# The following can be used to download from a previous workflow run (change id)
4242
# download_ock_artefact: host_x86_64_linux=12915462445;host_aarch64_linux=12915462445
43-
download_ock_artefact: host_x86_64_linux=14080727549
4443
# download_dpcpp_artefact: host_x86_64_linux=12915462445;host_aarch64_linux=12915462445
45-
download_dpcpp_artefact: host_x86_64_linux=14080727549
4644
# download_sycl_cts_artefact: host_x86_64_linux=12915462445;host_aarch64_linux=12915462445
47-
download_sycl_cts_artefact: host_x86_64_linux=14080727549
4845
pull_request: ${{ github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)