Where can I get OpenCL for Fedora 14.

Nicholas van Oudtshoorn vanoudt at gmail.com
Thu Jan 20 19:48:29 CST 2011

The latest closed source nvidia drivers from the rpmfusion repository 
include openCL support. You'll also have to have the -devel  I have 
found, though, that I have to explicitly tell the wine build system 
where it is. A simple

export LDFLAGS="-L /usr/lib/nvidia -L /usr/lib64/nvidia/"

seems to do the trick for me. (Of course, being i686, you'll want just
"-L /usr/lib/nvidia" ). Not sure why this is the case, ld seems to be 
set up with all the information...

But wait, there's more!

For some obscure reason known only to themselves, there is no cl.h 
included in the rpmfusion -devel package. To get that, you have to 
manually install CUDA support from nvidia. From
what you want to download is the "CUDA Toolkit for Fedora 13[1]" (don't 
worry, it works fine!)

Run this as root from a console:
    sudo sh cudatoolkit_3.2.16_linux_32_fedora13.run
And follow the prompts. (Just accept all the defaults).

Finally, for completeness, create a file in /etc/ld.so.conf.d/ called 
cuda.conf with the contents
For i686:
For x86_64:

And there you go! OpenCL support in Wine. Hopefully, it'll get easier.



On 01/20/2011 11:28 PM, Max TenEyck Woodbury wrote:
> For the first time in several years, I did a fresh install on this
> machine and I am in the process of getting all the tweaks back in place.
> Part of that process is assuring that wine's configure script has all
> the pieces it can use. I have found almost everything. What I am missing
> is OpenCL (that is C as in Charles). I see stuff for Apple, but not for
> Fedora.i386 (cpu is intel.core2 and an Nvidia card).
> Search results are inconclusive - I checked the first five pages and
> found nothing specifically about .rpm files.
> Where can I get an .rpm or tarball that contains a usable OpenCL
> implementation for Fedora 14?
> Max

More information about the wine-devel mailing list