File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
actions/build_vgg_resnet_action Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 47
47
export CMAKE_C_COMPILER=${{ inputs.workspace }}/linux_nightly_release/bin/clang
48
48
export CA_HAL_DEBUG=1
49
49
export CA_PROFILE_LEVEL=3
50
- export ONEAPI_DEVICE_SELECTOR=opencl:acc
50
+ export ONEAPI_DEVICE_SELECTOR=opencl:fpga
51
51
export OCL_ICD_FILENAMES=${{ inputs.workspace }}/ock_install_dir/lib/libCL.so
52
52
# As the oneAPI basetoolkit release has a whitelist of devices, it filters out RefSi.
53
53
# To override it, as a temporary solution we can point SYCL_CONFIG_FILE_NAME to ``.
76
76
python $portDNN_source/samples/networks/img2bin.py $(pwd)/Labrador_Retriever_Molly.jpg
77
77
78
78
# 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
80
80
# 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
82
82
83
83
- name : Package artifacts
84
84
shell : bash
Original file line number Diff line number Diff line change 1
1
name : Build and Package
2
2
on :
3
- pull_request :
4
- paths :
5
- - ' .github/workflows/create_publish_artifacts.yml'
6
3
push :
7
4
branches :
8
5
- stable
Original file line number Diff line number Diff line change 65
65
export CMAKE_C_COMPILER=$(pwd)/linux_nightly_release/bin/clang
66
66
export CA_HAL_DEBUG=1
67
67
export CA_PROFILE_LEVEL=3
68
- export ONEAPI_DEVICE_SELECTOR=opencl:acc
68
+ export ONEAPI_DEVICE_SELECTOR=opencl:fpga
69
69
export OCL_ICD_FILENAMES=$(pwd)/install/lib/libCL.so
70
70
# As the oneAPI basetoolkit release has a whitelist of devices, it filters out RefSi.
71
71
# To override it, as a temporary solution we can point SYCL_CONFIG_FILE_NAME to ``.
You can’t perform that action at this time.
0 commit comments