Closed kpet closed 4 years ago
Thanks for the nice catch. I pushed a fix, tell me how it goes.
This seems to have done the trick. Thanks for the quick fix! :) BTW, you may want to create a new tag (the last one is from 2017) so this makes it into distributions (I found this issue because my distribution hasn't transitioned to the official loader yet).
The platform sorting feature calls
clGetDeviceIDs
directly relying on the dispatch table to call into the appropriate platform. This doesn't always play well with interceptors that needclGetPlatformIDs
to return beforeclGetDeviceIDs
can be called. Using explicit pointers forclGetDeviceIDs
instead of relying on the dispatch table would solve this issue.