OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 12:52 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: anyone tinkered with cuda?
PostPosted: Mon Aug 21, 2017 4:50 pm 
Offline
Member
Member

Joined: Wed Nov 18, 2015 3:04 pm
Posts: 396
Location: San Jose San Francisco Bay Area
I had a gtx750ti and spent some time on C99 extensions on parallel computing.
Setup CUDA8.0 at home and looked at some sample projects in VS15 as a baby step.
I looked at source for deviceQuery utility, built and ran which probes lot of GPU characteristics on the system if it is found.
Now digging deeper, tried to look into one of the api function, and yes the header file is available in the cuda installation directory. However actual source of function body in does not seem to be available anywhere (was looking for files with *.c extension). grep with cygwin revealed something in *.lib. According to google search, lib appears to be a several compiled obj put together for distribution.
This means actual cuda source is not distributed?

_________________
key takeaway after spending yrs on sw industry: big issue small because everyone jumps on it and fixes it. small issue is big since everyone ignores and it causes catastrophy later. #devilisinthedetails


Top
 Profile  
 
 Post subject: Re: anyone tinkered with cuda?
PostPosted: Wed Aug 23, 2017 10:51 am 
Offline

Joined: Fri Jun 23, 2017 9:54 pm
Posts: 1
That's correct. These cards are also, generally, undocumented at the hardware level. I think nvidia stated they would provide documentation for the hardware, but I am unsure of that status of that.

An alternative to cuda is OpenCL. It's lesser used (especially in the nerual network/machine learning community) and I think the performance is generally worse too.


Top
 Profile  
 
 Post subject: Re: anyone tinkered with cuda?
PostPosted: Wed Aug 23, 2017 11:11 am 
Offline
Member
Member
User avatar

Joined: Wed Jul 13, 2011 7:38 pm
Posts: 558
CUDA is for when you want to do efficient machine learning. OpenCL is for when you want to waste power and heat mining bitcoin or upscaling anime.

Seriously, though, CUDA's closed up pretty tightly. Nvidia knows what they have, so they can do that. You want similar performance out of OpenCL, you need to spend more money and basically double your power/heat budget on AMD cards, and good luck finding any while the third wave of cryptocurrency miners are busy buying them all up to launder triad money (no joke).


Top
 Profile  
 
 Post subject: Re: anyone tinkered with cuda?
PostPosted: Wed Aug 23, 2017 10:28 pm 
Offline
Member
Member

Joined: Wed Nov 18, 2015 3:04 pm
Posts: 396
Location: San Jose San Francisco Bay Area
that is good to know. i have applied rigorously for several openings at Nvidia in hopes of getting job over next few months. Lol, if i can get in and hands-on with cuda low-level, that would be awesome.

_________________
key takeaway after spending yrs on sw industry: big issue small because everyone jumps on it and fixes it. small issue is big since everyone ignores and it causes catastrophy later. #devilisinthedetails


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Amazonbot [bot] and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group