Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-07-10, 09:11 AM   #1
tbyte
Registered User
 
tbyte's Avatar
 
Join Date: Apr 2003
Location: Europe, Bulgaria
Posts: 28
Default OpenCL on FreeBSD

Will there be soon support for OpenCL on FreeBSD and if not, why ? Will it be too complicated (having the source) to port it to FreeBSD from linux driver ?
tbyte is offline   Reply With Quote
Old 07-07-10, 11:07 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: OpenCL on FreeBSD

There are currently no plans to support CUDA/OpenCL on FreeBSD, although the runtime components (i.e. not the SDKs) may be ported at some point.
zander is offline   Reply With Quote
Old 07-07-10, 11:11 AM   #3
tbyte
Registered User
 
tbyte's Avatar
 
Join Date: Apr 2003
Location: Europe, Bulgaria
Posts: 28
Default Re: OpenCL on FreeBSD

Quote:
Originally Posted by zander View Post
There are currently no plans to support CUDA/OpenCL on FreeBSD, although the runtime components (i.e. not the SDKs) may be ported at some point.
Is it like just recompiling (with few small modifications probably) of the components for FreeBSD or it requires more porting/rewriting of the code ?
tbyte is offline   Reply With Quote
Old 07-07-10, 11:15 AM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: OpenCL on FreeBSD

It's both for the driver components. I can't comment on the SDK (I haven't worked on it).
zander is offline   Reply With Quote
Old 07-07-10, 11:35 AM   #5
tbyte
Registered User
 
tbyte's Avatar
 
Join Date: Apr 2003
Location: Europe, Bulgaria
Posts: 28
Default Re: OpenCL on FreeBSD

Quote:
Originally Posted by zander View Post
It's both for the driver components. I can't comment on the SDK (I haven't worked on it).
Hum Is it that I got something wrong, but I saw guys running linux CUDA (I'm guessing OpenCL should be similar ?) binaries on FreeBSD with the FreeBSD nVidia driver. So the driver should (if I'm not getting something wrong of course) support CUDA and the driver being similar to the linux one should support OpenCL when the linux one does ?
tbyte is offline   Reply With Quote
Old 07-07-10, 11:53 AM   #6
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: OpenCL on FreeBSD

The Linux driver packages include additional user-space components (see e.g. http://us.download.nvidia.com/XFree8...omponents.html vs. http://us.download.nvidia.com/XFree8...omponents.html).
zander is offline   Reply With Quote
Old 07-07-10, 12:02 PM   #7
tbyte
Registered User
 
tbyte's Avatar
 
Join Date: Apr 2003
Location: Europe, Bulgaria
Posts: 28
Default Re: OpenCL on FreeBSD

Quote:
Originally Posted by zander View Post
The Linux driver packages include additional user-space components (see e.g. http://us.download.nvidia.com/XFree8...omponents.html vs. http://us.download.nvidia.com/XFree8...omponents.html).
So exactly what I thought. Now if those linux components work under FreeBSD with emulation, will it be hard to just recompile them for FreeBSD (with small modifications probably) or there is some step I can't seem to understand because user space programs should be pretty easy to port ? Of course my line of thinking could be completely wrong because I haven't seen the source.

Regards.
tbyte is offline   Reply With Quote
Old 07-07-10, 12:33 PM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: OpenCL on FreeBSD

Like I said, it's not as simple as just building on FreeBSD. Also, beyond the initial port, we need to consider support/maintenance costs.
zander is offline   Reply With Quote

Old 07-09-10, 11:16 AM   #9
tbyte
Registered User
 
tbyte's Avatar
 
Join Date: Apr 2003
Location: Europe, Bulgaria
Posts: 28
Default Re: OpenCL on FreeBSD

Quote:
Originally Posted by zander View Post
Like I said, it's not as simple as just building on FreeBSD. Also, beyond the initial port, we need to consider support/maintenance costs.
I really hope nVidia manages to find some money to port and maintain a FreeBSD OpenCL libs (which should be just of port of linux ones ?). I'm really scared of the idea of using linux (or even worse - windoze ...) just for OpenCL.

Regards.
tbyte is offline   Reply With Quote
Old 07-09-10, 11:55 AM   #10
rhurlin
FreeBSD in Science
 
rhurlin's Avatar
 
Join Date: Jan 2007
Location: Northeim, Germany
Posts: 22
Default Re: OpenCL on FreeBSD

Quote:
Originally Posted by zander View Post
The Linux driver packages include additional user-space components (see e.g. http://us.download.nvidia.com/XFree8...omponents.html vs. http://us.download.nvidia.com/XFree8...omponents.html).
The actual port on FreeBSD (x11/nvidia-driver, Version 195.36.15) installs at least the linux versions of libcuda:

/usr/compat/linux/usr/lib/libcuda.so.1
/usr/compat/linux/usr/lib/libcuda.so.195.36.15

Am I right that this offers an option for FreeBSD port developers to adopt some CUDA applications in linux compatibility mode? Or is there no real "connection" between this libs and the native FreeBSD NVidia driver?
rhurlin is offline   Reply With Quote
Old 07-09-10, 12:09 PM   #11
tbyte
Registered User
 
tbyte's Avatar
 
Join Date: Apr 2003
Location: Europe, Bulgaria
Posts: 28
Default Re: OpenCL on FreeBSD

Quote:
Originally Posted by rhurlin View Post
...
Am I right that this offers an option for FreeBSD port developers to adopt some CUDA applications in linux compatibility mode? ...
Yes, You are right.
tbyte is offline   Reply With Quote
Old 07-15-10, 09:40 PM   #12
tbyte
Registered User
 
tbyte's Avatar
 
Join Date: Apr 2003
Location: Europe, Bulgaria
Posts: 28
Default Re: OpenCL on FreeBSD

Looking around the forums I saw an interesting thing - Solaris forum - 5 viewing, FreeBSD - 40+ viewing . So isn't it wise to shift resource from Solaris (Sun being bought by Oracle and probably solaris will die soon) to FreeBSD and porting and supporting CUDA and OpenCL for FreeBSD ?
tbyte is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:08 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.