Skip to content

1.11 error AssertionError: Base.isdispatchtuple #635

Open
@wsmoses

Description

@wsmoses
(f, tt, world, typeof(f)) = (Enzyme.Compiler.add_one_in_place, Tuple{Any}, 0x000000000000683a, typeof(Enzyme.Compiler.add_one_in_place))
  
  Stacktrace:
    [1] methodinstance
      @ ~/.julia/packages/GPUCompiler/2CW9L/src/jlgen.jl:82 [inlined]


 function nested_codegen!(mode::API.CDerivativeMode, mod::LLVM.Module, f, tt, world)
+    @show f, tt, world, typeof(f)
     funcspec = GPUCompiler.methodinstance(typeof(f), tt, world)
     nested_codegen!(mode, mod, funcspec, world)
 end

So essentially here we request a generic form of the function add_one_in_place requesting it for an any input. This works on 1.10, but fails on 1.11 hitting the aforementioned assertion error

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