GPGPUs
Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Wed Jan 22 07:21:36 PST 2014
On Wednesday, 22 January 2014 at 13:56:22 UTC, bearophile wrote:
> Could be of interest, to ease the porting of C++ code to Cuda:
> http://www.alexstjohn.com/WP/2014/01/16/porting-cuda-6-0/
Yeah, gpu programming is going to develop faster in the coming
years than dmd can keep track, probably.
I was more thinking about the simplicity:
Decorate a function call with some pragma and obtain a
pregenerated CUDA or OpenCL string as a property on that
function. That way the compiler only need to generate source-code
and the runtime can do the rest. But hide it so well that it
makes sense to write generic DMD code this way.
*shrug*
More information about the Digitalmars-d
mailing list