[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]

Introduction to gpu computation.

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: 13
Thread images: 3

File: nvidia-geforce-gts-240.jpg (13KB, 400x274px) Image search: [Google]
nvidia-geforce-gts-240.jpg
13KB, 400x274px
(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 (2MB, 320x320px)
test2.gif
2MB, 320x320px
>>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 posts: 13
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]

If you need a post removed click on it's [Report] button and follow the instruction.
If you like this website please support us by donating with Bitcoin at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties. Posts and uploaded images are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that website. If you need information about a Poster - contact 4chan. This project is not affiliated in any way with 4chan.