Re: Where can I get OpenCL for Fedora 14.

2011-01-20 Thread Nicholas van Oudtshoorn

On 01/21/2011 09:48 AM, Nicholas van Oudtshoorn wrote:

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
http://developer.nvidia.com/object/cuda_3_2_downloads.html#Linux
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:
/usr/local/cuda/lib
For x86_64:
/usr/local/cuda/lib64
/usr/local/cuda/lib

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

Nick


Just noticed that the nvidia cuda libraries are being worked on over at 
rpmfusion [1], so maybe this process will get easier sometime soon...


Nick

[1] https://bugzilla.rpmfusion.org/show_bug.cgi?id=459






Re: Where can I get OpenCL for Fedora 14.

2011-01-20 Thread Nicholas van Oudtshoorn
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

   http://developer.nvidia.com/object/cuda_3_2_downloads.html#Linux
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:
   /usr/local/cuda/lib
For x86_64:
   /usr/local/cuda/lib64
   /usr/local/cuda/lib

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

Nick


[1] 
http://www.nvidia.com/object/thankyou.html?url=/compute/cuda/3_2_prod/toolkit/cudatoolkit_3.2.16_linux_32_fedora13.run


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










Re: Where can I get OpenCL for Fedora 14.

2011-01-20 Thread Seth Shelnutt
I've never used fedora but my playing around with opencl in gentoo the
libonpencl.so only can come from two sources, the nvidia driver or the ati
stream sdk. So you might want to look at the binary driver for nvidia.
That's my only guess.

-Seth
On Jan 20, 2011 10:34 AM, "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
>
>



Re: Where can I get OpenCL for Fedora 14.

2011-01-20 Thread James McKenzie

On 1/20/11 8:28 AM, 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.

The question is "Is there OpenCL" for Fedora?  The only people who can 
answer this question are the Fedora Developers and Users. There is a 
wonderful Fedora Users Mailing list where this question would be more 
appropriate.  Ask there (and I lurk there as well.)


James McKenzie





Re: Where can I get OpenCL for Fedora 14.

2011-01-20 Thread Charles Davis
On 1/20/11 8:28 AM, Max TenEyck Woodbury wrote:
> Where can I get an .rpm or tarball that contains a usable OpenCL
> implementation for Fedora 14?
What are you asking us for? We don't know! :)

Seriously, this is a question for the Fedora folks. They're the ones you
should be asking, not us. (Over on wine-users, people ask "where can I
find package X?" all the time, and the answer is inevitably "ask your
distro.")

Chip




Where can I get OpenCL for Fedora 14.

2011-01-20 Thread Max TenEyck Woodbury

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