2014-08-03 11:56 GMT+02:00 Asiga Nael <[email protected]>:

> Hi!
>
> Is there any easy way of adding OpenCL support to rubenvb builds? I'm
> still in an older release (4.6.x) (because I built it myself from source
> and has worked great all these years), but I just downloaded the latest 4.8
> release and didn't find OpenCL headers nor libs either.
>

Yeah, I didn't include them in my builds.


>
> I'm using mingw-w64 for cross-compiling only (from either Linux or OSX,
> depending on the day), so installing the NVIDIA or AMD gpu sdk isn't an
> option (well, actually, I've them installed, but for my native builds on
> Linux and OSX, of course, but it's not possible to do so for a
> cross-compiling scenario).
>
> I tend to believe I just need headers and some sort of lib that makes the
> mingw-w64 linker happy (because the real OpenCL DLL will be in the user
> machine and it depends on the user's gpu, drivers, etc...)
>

Yes, all you need is some headers and maybe (I would say so) an import
library.

>
> Can I simply add any headers or libs to the rubenvb 4.6.x toolchains and
> it will magically work? Or is it more complex than that?
>

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).

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

Cheers,

Ruben
------------------------------------------------------------------------------
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