Live data from Hacker News

Ask HN: Best place to learn GPU programing?

news.ycombinator.com

11–20 of 57 posts

Re: Ask HN: Best place to learn GPU programing?

#11
post #7

My advice: 1. buy some cuda GTX from nvidia (second hand ebayish would do) 2. install pycuda https://mathema.tician.de/software/pycuda/ 3. dive into excelennt documentation and tutorials: https://documen.tician.de/pycuda/ Literally in 2h, I had first code on my GTX at standard ubuntu. Being it python (plus obvious cuda code in C) was much easier to grasp.

I already have NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2) to work on, I just have no clue on CUDA so thought reading about GPU arcitecture and learning the basics by a tutuorial is the right way to start !!

Re: Ask HN: Best place to learn GPU programing?

#12
post #9

Get a book on linear algebra, a book on C/C++, and download the OpenGL spec and build a graphics pipeline that can render a textured polygon, then add lights, shadows, animations... this will take you a month perhaps.

I am working on a data processing framework project so I dont think I have a months time so as of now I started reading http://analog.nik.uni-obuda.hu/ParhuzamosProgramozasuHardver...

Re: Ask HN: Best place to learn GPU programing?

#13
post #6

what does "GPU programming" mean? Does it mean you've never done anything GPU related ever and you want to start at "put a triangle on the screen" with OpenGL or WebGL? Does it mean some thing like GPGPU, you want to use GPUs to do computation? Does it mean something like Vulkan/DX12/Metal, you want do low level stuff? Maybe someone can give answers to all of those questions but they're arguably different things and…

Hello, sorry for my vague question, I want learn CUDA so I can increase performance of an existing framework, pure performance and throughput time in consideration. And no I dont have no prior experience on working with GPU's before.

Re: Ask HN: Best place to learn GPU programing?

#14
post #5

Free udacity course: https://www.udacity.com/course/intro-to-parallel-programming...

I looked into it before, but thought its too slow and its more like for people having no idea about computers before, sorry these are purley my feeling alone.So asked for more advance tutorial here !?

Re: Ask HN: Best place to learn GPU programing?

#17
post #5

Free udacity course: https://www.udacity.com/course/intro-to-parallel-programming...

I looked into it before, but thought its too slow and its more like for people having no idea about computers before, sorry these are purley my feeling alone.So asked for more advance tutorial here !?

You can just skip the first lessons, the chapter "Squaring Numbers Using CUDA Part 1" has some code. Then the third lesson some more advanced techniques (actually they are really basic, but you might not have heard about them if you're not into parallel programming or networking hardware). I recommend it btw.

Re: Ask HN: Best place to learn GPU programing?

#18
post #16

My advice: learn OpenCL, but not OpenGL. The API is much simpler, and very applicable. Maps on CUDA quite well too.

I am looking into performance optimization in a data processing framework would COpenGL help ? or should I just learn CUDA from the links others suggested !?

Re: Ask HN: Best place to learn GPU programing?

#19
post #9

Get a book on linear algebra, a book on C/C++, and download the OpenGL spec and build a graphics pipeline that can render a textured polygon, then add lights, shadows, animations... this will take you a month perhaps.

I am working on a data processing framework project so I dont think I have a months time so as of now I started reading http://analog.nik.uni-obuda.hu/ParhuzamosProgramozasuHardver...

ah ok then you're better off learning OpenCL, if you don't have access to a beefy graphics card just rent one by the hour off of amazon. You can prototype on your laptops CPU then run the real simulation on a remote machine.
Post reply on HN