[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

CUDA

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 18
Thread images: 3

File: Nvidia_CUDA_Logo.jpg (14KB, 406x246px) Image search: [Google]
Nvidia_CUDA_Logo.jpg
14KB, 406x246px
I know there's at least one anon here who writes CUDA accellerated algorithms.

How do I get into it.

Hard mode: Same question, but without an NVIDIA card.
>>
>>61182171
webgl/2 has vertex and color shaders, running on an apu here =)
>>
>>61182171
OpenCL
>>
>>61182171
You cant run cuda programs on non nvidia cards.

You have to use OpenCL which is very similar to cuda.

Here is a list of books
https://www.khronos.org/developers/books/

It depends on your algorithm. You can think of graphics cards as highly parallel calculators. Its best when you have lots of small independent operations. For example matrix multiplication.

If your problem is something like this Google/Stackoverflow are pretty much all you need though. Lots of example code out there.
>>
Do you really need raw CUDA?
Try more specialized approach if you can, like Theano, Keras, Tensorflow and so on.

Raw CUDA is pretty hard, so expect your shit to run much slower because you won't know how to optimize it.
>>
File: test.png (82KB, 652x730px) Image search: [Google]
test.png
82KB, 652x730px
http://webglreport.com/?v=2
>>
>>61182438
You're an SJW cuck, aren't you?

>>61182480
TensorFlow uses CUDA through cuDNN.
>>
>>61182535
But it doesn't use it directly and thus doesn't require optimizing CUDA code by hand, resulting in much better performance if you aren't a CUDA buddhajesus.
>>
File: chicken hug.gif (1MB, 360x360px) Image search: [Google]
chicken hug.gif
1MB, 360x360px
>>61182399
>>61182438
>>61182480
Thanks for the truly high quality replies anons. I'm not even being sarcastic. Will be lurking this thread, and probably coming back for more OpenCL discussion at a later time.
>>
>>61182547
I agree. It's better to use nVidia libraries for CUDA instead of writing kernels by hand unless you're very experienced with numerical analysis and the underlying hardware idiosyncrasies, they usually handle the hardware more smart. But it won't be redundant to have a notion how it works under the hood.
>>
>>61182171
I started learning CUDA this week, so far I've wrote a matrix multiplier and a kernel convolver. Its hard but managable.
>>
>>61182171
I tried setting it up on fedora and it's a pain in the ass

More or less on any other distro except ubuntu 16.04/14.04
>>
>>61183172
Debian 9 is OK.
>>
>>61182171
The udacity course is a good place to start
>>
>>61183060
Fuck you nigger, you're the chicken
>>
>>61183280
Pajeet detected
>>
>>61182171
If you don't have an nvidia GPU you can always spin up an AWS with one and use it to experiment. I guess you could learn OpenCL as well but CUDA will continue to destroy it in performance so long as nvidia wants it to.
>>
>>61182480
> using someone elses framework

LMAO fucking nigger.
Thread posts: 18
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.