Skip to content

Commit

Permalink
Switch to modern OpenCL CPU runtime on Windows
Browse files Browse the repository at this point in the history
Windows CI tests are using older version of intel OpenCL CPU runtime.
This older version is no longer supported in favor of intel OneAPI
stack. This commit updates windows test to use OneAPI OpenCL CPU
runtime.

Ubuntu tests were updated to use intel OneAPI OpenCL CPU runtime in
commit
b1be7bc
  • Loading branch information
vawale committed Oct 17, 2023
1 parent f09c3dd commit bf42dfd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions continuous-integration/windows/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ def _install_intel_opencl_runtime():
import requests # pylint: disable=import-outside-toplevel

with tempfile.TemporaryDirectory() as temp_dir:
intel_opencl_runtime_url = "https://www.dropbox.com/s/09bk2nx31hzrupf/opencl_runtime_18.1_x64_setup-20200625-090300.msi?raw=1"
print("Downloading {}".format(intel_opencl_runtime_url), flush=True)
opencl_runtime = Path(temp_dir) / "opencl_runtime.msi"
response = requests.get(intel_opencl_runtime_url, timeout=(25, 600))
opencl_runtime.write_bytes(response.content)
print("Installing {}".format(opencl_runtime), flush=True)
run_process(("msiexec", "/i", str(opencl_runtime), "/passive"))
intel_oneapi_opencl_installer_url = "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/faf10bb4-a1b3-46cf-ae0b-986b419e1b1c-opencl/w_opencl_runtime_p_2023.2.0.49500.exe"
print("Downloading {}".format(intel_oneapi_opencl_installer_url), flush=True)
opencl_runtime_installer = Path(temp_dir) / "opencl_runtime_installer.exe"
response = requests.get(intel_oneapi_opencl_installer_url, timeout=(25, 600))
opencl_runtime_installer.write_bytes(response.content)
print("Installing {}".format(opencl_runtime_installer), flush=True)
run_process((str(opencl_runtime_installer), "--silent"))


def _write_zivid_cpu_configuration_file():
Expand Down

0 comments on commit bf42dfd

Please sign in to comment.