Page 1 of 1
CUDA and PureBasic
Posted: Sat May 16, 2009 6:54 pm
by orionis_pm
I'm just wondering: Is it possible to implement CUDA (from NVIDIA) into PureBasic (DLL or anything). Did anyone tried? I do like the CUDA parallel programming concept but I don't like C/C++ (especially VC7/8/9 weird stuff, making more problems then necessary). Anyone, any thoughts?
Posted: Sat May 16, 2009 7:08 pm
by cxAlex
There is some code in the german forum but it uses GSLS:
http://www.purebasic.fr/german/viewtopic.php?t=19399
Posted: Sat May 16, 2009 7:23 pm
by orionis_pm
Thanks cxAlex,
What I do understand from it (Google's translator rules

) this code uses OpenGl but has nothing to do with CUDA apart of trying to use GFX processor. What I'm after is CUDA dll or .lib based on original CUDA dll.
Searched whole INET and nothing. It's like no one is even trying to transfer CUDA onto different languages. Just C/C++.
With its power it can be possible to speed up many things. This is not remedy for all, but at least every one can play with it. Maybe someone come up with good results.
Posted: Sat May 16, 2009 7:27 pm
by cxAlex
Posted: Sun May 17, 2009 12:25 am
by Kaeru Gaman
when you have the original CUDA.dll and the C header, you can easily import the DLL for use in PB, using the C header as a blueprint.