Compiling to SPIR

John Colvin via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Oct 15 11:14:20 PDT 2014


How unrealistic would it be to compile a small subset of D, e.g. 
betterc, to OpenCL SPIR https://www.khronos.org/spir ?

It would be fantastic to use all of D's code-generation and 
compile-time abstractions for writing opencl kernels. In 
addition, compile-time introspection of the kernel code would 
allow for significant improvements in the host API.


More information about the digitalmars-d-ldc mailing list