OpenCL-ICD-Loader icon indicating copy to clipboard operation
OpenCL-ICD-Loader copied to clipboard

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

Open saedrna opened this issue 4 years ago • 1 comments

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

saedrna avatar Aug 29 '20 16:08 saedrna

Yep, makes sense. Sounds like they should probably be delay-loaded instead. I'll give it a shot.

jenatali avatar Aug 29 '20 20:08 jenatali