[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Introduction to gpu computation.
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 13
Thread images: 3
File: nvidia-geforce-gts-240.jpg (13 KB, 400x274) Image search: [Google]
nvidia-geforce-gts-240.jpg
13 KB, 400x274
(I am italian bad english so please don't hate me too much)
Dear /g/,
I am a second year physics student who really loves making numerical simulations and shit.

I have become quite good in using c++ for making cpu multithreaded simulation and I want to start making gpu parallelized simultations.

Where I should start from? OpenGL? OpenCL? I just want to learn something really usefull for a wannabe physics.

I own a Nvidia gtx970, if that matters...
>>
What about Cuda on your Nvidia card?
>>
>>55171065
It could be an idea, but I want to learn something compatible with more than one brand.
>>
>>55171043

Learn OpenCL, that's literally what it's for.
>>
File: test2.gif (2 MB, 320x320) Image search: [Google]
test2.gif
2 MB, 320x320
>>55171043
Dear Anon,

openCL should be a very good start. I share your enthusiasm for physical simulations. I'm not an especially good programmer, but I used to do a few simple MD and PDE simulations using openCL as well (though, my computer doesn't feature are particularly suited GPU, so it was more a learning thing than actually useful). It's a lot of fun and if you get good at GPU programming, you'll be extremely useful for your department, as GPU programmers are always lacking.

Good luck
>>
>>55171043

It's always entertaining when we apologize for the poor english, then proceed to speak it better than some natives
>>
>>55171043
hahah che cazzo fai
>>
>>55171085
CUDA is basically the industry standard. Stuff like rCUDA is widely used in academia.
>>
>>55171298
That meme has to stop.
>>
>>55171298
>I am awfully sorry for the terrible state of my English speaking and writing abilities as English is not my mother tongue. I hope you forgive every foolish mistake I make.
Fixed.
People who don't have English as their native language shouldn't make these images.
>>
>>55171085
While OpenCL is compatible with both AMD and Nvidia, you'd have to basically write two different implementations because of the differences between cards, or enjoy really shitty performance on one of brands.
>>
OP here,
thank you for your suggestions, I think I will start looking for OpenCL.
I will start my journey, but do you know some book or pdf that may help me?
>>
>>55172031
opencl has a cpu fallback run mode too, so even if you dont have a modern video card (amd, nvidia or intel) you can still use a cpu with sse3 to run stuff (at much lower performance but without having to change code or recompiling shit)
gl
Thread replies: 13
Thread images: 3

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.