Skip to content

Assertion `originalLType->isStructTy()' failed #53

@mneilly

Description

@mneilly

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:

../../../.dub/packages/dcompute-master/dcompute/source/dcompute/driver/error.d(165,43): Error: non-constant nested delegate literal expression __lambda9

../../../.dub/packages/dcompute-0.1.0/dcompute/source/dcompute/driver/error.d(143,13): Error: undefined identifier fprintf             
                                                                             
../../../.dub/packages/dcompute-0.1.0/dcompute/source/dcompute/driver/ocl/context.d(144,19): Error: undefined identifier clCreateProgramWithIL 

master/dcompute/source/dcompute/tests/main.d(106): Enforcement failed                            

ldc2: /home/vsts/work/1/s/gen/abi-x86-64.cpp:303: void X86_64TargetABI::rewriteArgument(IrFuncTy&, IrFuncTyArg&, {anonymous}::RegCount&): Assertion `originalLType->isStructTy()' failed.                                                                                        

/usr/local/ldc2-1.13.0-beta2-linux-x86_64/bin/../import/std/array.d(2975,13): Error: TypeInfo cannot be used with -betterC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions