Closed hydra3333 closed 6 years ago
There should be no need to modify the headers or ICD sources to change the default version.
The ICD loader sources target the latest version of OpenCL, and so will need all of the type and function declarations for OpenCL 2.2. This isn't a problem since it is also backwards compatible, so it will still work with OpenCL 1.2 implementations.
OK. The latest headers commit as of about yesterday says you now need to set a header version number or it defaults to version 2.2 and then says how to do it. They've also moved the git folder structure around a bit.
Nvidia says they are only version 1.2 compatible which is why I specified the version, not knowing nay better.
Are you saying to just build the icd loader with version 2.2 (when it is finally fixed to cross-compile OK with the latest headers) and at runtime it'll settle on version 1.2 when it finds nvidia driver's OpenCL ?
ok, I let it default to version 2.2 and the ICD loader cross-compiled OK. We'll see what happens at runtime :)
Yes. That's how the ICD Loader is supposed to work.
ok, great.
Modified header version to be 1.2 for nvidia compatibility (and changed that ONLY). Nothing else changed.
But now this icd loader will not build :( :(
Cross-compile under ubuntu/mingw64 used to work fine up to yesterday.
Log below.