How DerelictCL works

Mike Parker aldacron at gmail.com
Wed Jul 22 02:54:20 UTC 2020


On Tuesday, 21 July 2020 at 12:00:03 UTC, bioinfornatics wrote:
> Dear,
>
> I would like to use OpenCL in D. Thus I try to use DerelictCL.
> But I fail to use it I encounter this error message:
> --------------
> /opt/jonathan/jonathan-dlang_ldc2092/root/usr/include/d/derelict/opencl/constants.di(835): Error: genCLVectorTypes cannot be interpreted at compile time, because it has no available source code
> /opt/jonathan/jonathan-dlang_ldc2092/root/usr/include/d/derelict/opencl/constants.di-mixin-835(835): Error: declaration expected, not <
> --------------

Looks like an issue in a code gen function. It might be due to 
changes in LDC. I'll ping Guillaume.


More information about the Digitalmars-d-learn mailing list