File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ jobs:
262
262
REM pip install --no-cache-dir brotli
263
263
echo "Value of CONDA enviroment variable was: " %CONDA%
264
264
conda list
265
- - name : Add library
265
+ - name : Configure Intel OpenCL CPU RT
266
266
shell : pwsh
267
267
run : |
268
268
$conda_env_library = "$env:CONDA_PREFIX\Library"
@@ -281,17 +281,6 @@ jobs:
281
281
New-ItemProperty -Path HKLM:\SOFTWARE\Khronos\OpenCL\Vendors -Name $conda_env_library\lib\intelocl64.dll -Value 0
282
282
try {$list = Get-Item -Path HKLM:\SOFTWARE\Khronos\OpenCL\Vendors | Select-Object -ExpandProperty Property } catch {$list=@()}
283
283
Write-Output $(Get-Item -Path HKLM:\SOFTWARE\Khronos\OpenCL\Vendors)
284
- # Now copy OpenCL.dll into system folder
285
- $system_ocl_icd_loader="C:\Windows\System32\OpenCL.dll"
286
- $python_ocl_icd_loader="$conda_env_library\bin\OpenCL.dll"
287
- Copy-Item -Path $python_ocl_icd_loader -Destination $system_ocl_icd_loader
288
- if (Test-Path -Path $system_ocl_icd_loader) {
289
- Write-Output "$system_ocl_icd_loader has been copied"
290
- $acl = Get-Acl $system_ocl_icd_loader
291
- Write-Output $acl
292
- } else {
293
- Write-Output "OCL-ICD-Loader was not copied"
294
- }
295
284
# Variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default
296
285
$cl_cfg="$conda_env_library\lib\cl.cfg"
297
286
Write-Output $cl_cfg
You can’t perform that action at this time.
0 commit comments