On Sunday, August 3, 2014 2:09 PM, Ruben Van Boxem <[email protected]> 
wrote:
> It should work: if you take the import library (libopencl.a or 
> libopencl.dll.a) 
> from a GPU vendor's SDK, it should enable it to work on all systems (if I 
> understand all the OpenCL magic correctly).

I just realized I don't really want to link to OpenCL, because my executables 
would depend on the OpenCL runtime, and I want OpenCL to be an optional feature 
(used if available, ignored otherwise). So, I'm going to load the OpenCL lib 
dynamically, in a fashion similar to GLEW with OpenGL.

Moreover, this way I don't even need any headers nor import libs at all, just 
the wrangler library.

> Also: I strongly recommend switching to the mingw-builds toolchains. Mine are 
> quite old by now and the mingw-builds are better and newer ;-)

I understand, but 4.6.x is still serving me great, and I even built it for G5 
PPC when I installed it on my systems. My time is so limited that currently I 
don't have time to do enhancements to stuff that just works... but anyway I 
suppose I'll update some day...

Thanks!

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to