OSDev.org
https://forum.osdev.org/

anyone tinkered with cuda?
https://forum.osdev.org/viewtopic.php?f=13&t=32355
Page 1 of 1

Author:  ggodw000 [ Mon Aug 21, 2017 4:50 pm ]
Post subject:  anyone tinkered with cuda?

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?

Author:  supplejackdowns [ Wed Aug 23, 2017 10:51 am ]
Post subject:  Re: anyone tinkered with cuda?

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.

Author:  Kazinsal [ Wed Aug 23, 2017 11:11 am ]
Post subject:  Re: anyone tinkered with cuda?

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

Author:  ggodw000 [ Wed Aug 23, 2017 10:28 pm ]
Post subject:  Re: anyone tinkered with cuda?

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/