[PATCH] opencl: Add OpenCL 1.1 implementation.

Fabian Maurer dark.shadow4 at web.de
Sat Mar 2 12:13:38 CST 2019


On Samstag, 2. März 2019 18:57:43 CET Nakarin Khankham wrote:
> By dynamically access the functions, you mean use dlopen and dlsym 
function?
> (in wine case, wine_dlopen and wine_dlsym?)
> 
> something like this?

That won't help - once it's compiled with 1.1+ OpenCL support, how is it 
supposed to react when the host only has OpenCL 1.0 support?
You need to check the OpenCL support (of the selected device) dynamically. 
You can have multiple OpenCL devices with different versions, too.

Regards,
Fabian Maurer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190302/ae993bcb/attachment.html>


More information about the wine-devel mailing list