libmir / dcompute

DCompute: Native execution of D on GPUs and other Accelerators
Boost Software License 1.0
138 stars 27 forks source link

Add note about using non-d kernels #43

Closed thewilsonator closed 6 years ago

thewilsonator commented 6 years ago

41

thewilsonator commented 6 years ago

@nerdralph Does this cover what you think is needed in terms of docs?

nerdralph commented 6 years ago

Not really. "you need to ensure is that the (mangled) name and signature of the kernels D declaration match with its definition in the other language and you can use it as is it were a D kernel." That means I have to learn how D does name mangling. An example OpenCL kernel invocation would probably clear that up.