KhronosGroup / KhronosGroup/OpenCL-ICD-Loader

It seems that recent version is dependent with winrt api, that is not supported in WIN7.

Open
#120 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
304
Forks
171
Avg merge
11h 30m
Merged PRs (30d)
1

Description

Starting from version `2020.06.16`, `opencl.dll` is dependent on winrt api, i.e. `dumpbin` of MSVC gives the following results

```
CFGMGR32.dll
api-ms-win-core-winrt-string-l1-1-0.dll
api-ms-win-core-winrt-l1-1-0.dll
KERNEL32.dll
ole32.dll
ADVAPI32.dll
MSVCP140.dll
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
```

while previous version (`2020.03.13`) is
```
CFGMGR32.dll
KERNEL32.dll
GDI32.dll
ole32.dll
ADVAPI32.dll
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
```

But unfortunately ` api-ms-win-core-winrt-string-l1-1-0.dll` and `api-ms-win-core-winrt-l1-1-0.dll` are only supported after Win10. This will lose support for Windows 7.
The binaries are taken from anaconda.

Han

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the OpenCL loader artifacts from versions 2020.06.16 and 2020.03.13 with MSVC dumpbin, as described in the issue. Trace the build or dependency inputs that introduced the WinRT DLLs and verify the resulting opencl.dll no longer requires them while retaining Windows 7 compatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.