-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion `originalLType->isStructTy()' failed #53
Comments
Try with the latest LDC beta. |
Unfortunately, I cannot get that to work either as it gets the 'enforcement failed error'.
|
You appear to be using OpenCL, which means that you need to figure out which device (if any) supports OpenCL 2.1 (for me that is the Intel experimental CPU) and adjust https://github.com/libmir/dcompute/blob/master/source/dcompute/tests/main.d#L24 to match whatever index that device is. I insulated the Nvidia 1.2 before the intel ones so that is index zero, then the intel 1.2 one is index one and the experimental 2.1 device is index 2. |
Thanks for the responses (and the creation of dcompute!). :) I'm not intending to use CL. I see If I comment out the enforce I see that |
Hmm, I'll have to look into that then. |
This may have been fixed by ldc-developers/ldc#3251 |
I ran across dcompute and thought I would give it a try. What is the combination of dcompute and ldc that is expected to work? I have tried ldc 1.4.0 thru 1.15 with dcompute 0.1.0 and master and have not found a combination that works when I try "dub test dcompute".
Depending upon the combination I get different errors including:
The text was updated successfully, but these errors were encountered: