Skip to content

Commit fd990ad

Browse files
committed
Install windows icd
1 parent 999783e commit fd990ad

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ jobs:
4242
sudo apt update -qq
4343
sudo apt install -qq ocl-icd-opencl-dev pocl-opencl-icd
4444
45+
- name: Install OpenCL - Windows
46+
if: matrix.os == 'windows-2022'
47+
run: |
48+
wget -O opencl_installer.exe 'https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b6dccdb7-b503-41ea-bd4b-a78e9c2d8dd6/w_opencl_runtime_p_2025.1.0.972.exe'
49+
./opencl_installer.exe --s --x --f ocl
50+
cp "./ocl/w_opencl_runtime_p_2025.1.0.972.msi" "./opencl_rt.msi"
51+
echo "Start Msiexec"
52+
msiexec /i "opencl_rt.msi" /qn /passive /quiet
53+
echo "End Msiexec"
54+
55+
4556
- name: Install OpenCL - Ubuntu
4657
if: matrix.os == 'ubuntu-22.04'
4758
run: |

0 commit comments

Comments
 (0)