DCompute - Native heterogeneous computing for D - is here!

Guillaume Piolat via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Feb 27 05:55:23 PST 2017


On Sunday, 26 February 2017 at 08:37:29 UTC, Nicholas Wilson 
wrote:
> This will enable writing kernels in D utilising all of D's meta 
> programming goodness across the device divide and will allow 
> launching those kernels with a level of ease on par with CUDA's 
> <<<...>>> syntax.

Interesting to write kernels in D, since a limitation of CUDA is 
that you need to multiply the entry points to instantiate a 
template differently, and a limitation of OpenCL C is that you 
need templates and includes in the first place.

How does this work?
Does the host code need something like DerelictCL to work?


More information about the Digitalmars-d-announce mailing list