Skip to content

Commit b30d3db

Browse files
committed
Based on intel/llvm#12551 , replacing 'acc' with 'fpga' in ONEAPI_DEVICE_SELECTOR
1 parent 899b825 commit b30d3db

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/actions/build_vgg_resnet_action/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747
export CMAKE_C_COMPILER=${{ inputs.workspace }}/linux_nightly_release/bin/clang
4848
export CA_HAL_DEBUG=1
4949
export CA_PROFILE_LEVEL=3
50-
export ONEAPI_DEVICE_SELECTOR=opencl:acc
50+
export ONEAPI_DEVICE_SELECTOR=opencl:fpga
5151
export OCL_ICD_FILENAMES=${{ inputs.workspace }}/ock_install_dir/lib/libCL.so
5252
# As the oneAPI basetoolkit release has a whitelist of devices, it filters out RefSi.
5353
# To override it, as a temporary solution we can point SYCL_CONFIG_FILE_NAME to ``.
@@ -76,9 +76,9 @@ runs:
7676
python $portDNN_source/samples/networks/img2bin.py $(pwd)/Labrador_Retriever_Molly.jpg
7777
7878
# Testing on image for VGG16
79-
CA_HAL_DEBUG=1 CA_PROFILE_LEVEL=3 OCL_ICD_FILENAMES=${{ inputs.workspace }}/ock_install_dir/lib/libCL.so ONEAPI_DEVICE_SELECTOR=opencl:acc SYCL_CONFIG_FILE_NAME= ${{ inputs.workspace }}/portDNN_build_dir/samples/networks/vgg/vgg vdata/ $(pwd)/Labrador_Retriever_Molly.jpg.bin
79+
CA_HAL_DEBUG=1 CA_PROFILE_LEVEL=3 OCL_ICD_FILENAMES=${{ inputs.workspace }}/ock_install_dir/lib/libCL.so ONEAPI_DEVICE_SELECTOR=opencl:fpga SYCL_CONFIG_FILE_NAME= ${{ inputs.workspace }}/portDNN_build_dir/samples/networks/vgg/vgg vdata/ $(pwd)/Labrador_Retriever_Molly.jpg.bin
8080
# Testing on image for Resnet50
81-
CA_HAL_DEBUG=1 CA_PROFILE_LEVEL=3 OCL_ICD_FILENAMES=${{ inputs.workspace }}/ock_install_dir/lib/libCL.so ONEAPI_DEVICE_SELECTOR=opencl:acc SYCL_CONFIG_FILE_NAME= ${{ inputs.workspace }}/portDNN_build_dir/samples/networks/resnet50/resnet50 rdata/ $(pwd)/Labrador_Retriever_Molly.jpg.bin
81+
CA_HAL_DEBUG=1 CA_PROFILE_LEVEL=3 OCL_ICD_FILENAMES=${{ inputs.workspace }}/ock_install_dir/lib/libCL.so ONEAPI_DEVICE_SELECTOR=opencl:fpga SYCL_CONFIG_FILE_NAME= ${{ inputs.workspace }}/portDNN_build_dir/samples/networks/resnet50/resnet50 rdata/ $(pwd)/Labrador_Retriever_Molly.jpg.bin
8282
8383
- name: Package artifacts
8484
shell: bash

.github/workflows/create_publish_artifacts.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Build and Package
22
on:
3-
pull_request:
4-
paths:
5-
- '.github/workflows/create_publish_artifacts.yml'
63
push:
74
branches:
85
- stable

.github/workflows/run_ock_demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
export CMAKE_C_COMPILER=$(pwd)/linux_nightly_release/bin/clang
6666
export CA_HAL_DEBUG=1
6767
export CA_PROFILE_LEVEL=3
68-
export ONEAPI_DEVICE_SELECTOR=opencl:acc
68+
export ONEAPI_DEVICE_SELECTOR=opencl:fpga
6969
export OCL_ICD_FILENAMES=$(pwd)/install/lib/libCL.so
7070
# As the oneAPI basetoolkit release has a whitelist of devices, it filters out RefSi.
7171
# To override it, as a temporary solution we can point SYCL_CONFIG_FILE_NAME to ``.

0 commit comments

Comments
 (0)