Skip to content

Commit ee6a76b

Browse files
committed
Drop redundant OpenCL check from Windows install script
1 parent 4ca27fb commit ee6a76b

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

tools/ai/install-ort-gpu.ps1

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -186,20 +186,9 @@ if (-not $Force) {
186186
Write-Host ""
187187
}
188188
}
189-
if ($Selected.vendor -eq "intel") {
190-
$OpenCLKey = Get-ItemProperty -Path "HKLM:\SOFTWARE\Khronos\OpenCL\Vendors" -ErrorAction SilentlyContinue
191-
$HasIntelOpenCL = $false
192-
if ($OpenCLKey) {
193-
$OpenCLKey.PSObject.Properties | ForEach-Object {
194-
if ($_.Name -match 'IntelOpenCL') { $HasIntelOpenCL = $true }
195-
}
196-
}
197-
if (-not $HasIntelOpenCL) {
198-
Write-Host "Warning: Intel OpenCL runtime not found." -ForegroundColor Yellow
199-
Write-Host " Download from: https://www.intel.com/content/www/us/en/download/785597/"
200-
Write-Host ""
201-
}
202-
}
189+
# Intel: no extra checks — modern Intel GPU drivers bundle OpenCL and
190+
# Level Zero, and OpenVINO works through either; if the GPU is detected,
191+
# the driver is installed.
203192
}
204193

205194
if (-not $Yes) {

0 commit comments

Comments
 (0)