This repository was archived by the owner on Jul 22, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def configure_platform(platform: str) -> None:
2525 settings = {
2626 "linux-x86_64" : {
2727 "toolchain_asset" : "sycl_linux.tar.gz" ,
28- "device_selector" : "opencl:* " ,
28+ "device_selector" : "opencl:cpu " ,
2929 "opencv_apps" : "ON" ,
3030 "sycl_targets" : "spir64" ,
3131 },
@@ -62,7 +62,6 @@ def setup_linux_runtime() -> None:
6262 "git" ,
6363 "ocl-icd-opencl-dev" ,
6464 "opencl-headers" ,
65- "pocl-opencl-icd" ,
6665 "python3" ,
6766 "zstd" ,
6867 ]
@@ -116,14 +115,14 @@ def setup_linux_runtime() -> None:
116115 icd_file = None
117116 for candidate in Path ("/etc/OpenCL/vendors" ).glob ("*.icd" ):
118117 try :
119- if "pocl " in candidate .read_text (encoding = "utf-8" ).lower ():
118+ if "intel " in candidate .read_text (encoding = "utf-8" ).lower ():
120119 icd_file = candidate
121120 break
122121 except OSError :
123122 continue
124123
125124 if icd_file is None :
126- main_error ("Unable to locate PoCL OpenCL ICD file under /etc/OpenCL/vendors" )
125+ main_error ("Unable to locate Intel OpenCL ICD file under /etc/OpenCL/vendors" )
127126
128127 run (["cp" , str (icd_file ), str (icd_dir / icd_file .name )])
129128 write_env ("OCL_ICD_VENDORS" , str (icd_dir ))
You can’t perform that action at this time.
0 commit comments