DCompute - Native heterogeneous computing for D - is here!

jmh530 via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Feb 26 05:39:56 PST 2017


On Sunday, 26 February 2017 at 08:37:29 UTC, Nicholas Wilson 
wrote:
> DCompute is an extension to LDC capable of generating code 
> (with no language changes*) for NVIDIA's NVPTX for use with 
> CUDA, SPIRV for use with the OpenCL runtime, and of course the 
> host, all at the same time! It is also possible to share 
> implementation of algorithms across the host and device.
> 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. I hope to be giving a talk at DConf2017 about 
> this ;), what it enables us to do, what still needs to be done 
> and future plans.

Great work.




More information about the Digitalmars-d-announce mailing list