Package evaluation to test LogDensityProblemsAD on Julia 1.13.0-alpha2.30 (5abf758bb1*) started at 2026-01-08T21:27:17.060 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 10.48s ################################################################################ # Installation # Installing LogDensityProblemsAD... Resolving package versions... Installed ArgCheck ───────────── v2.5.0 Installed LogDensityProblems ─── v2.2.0 Installed DocStringExtensions ── v0.9.5 Installed LogDensityProblemsAD ─ v1.13.1 Updating `~/.julia/environments/v1.13/Project.toml` [996a588d] + LogDensityProblemsAD v1.13.1 Updating `~/.julia/environments/v1.13/Manifest.toml` [dce04be8] + ArgCheck v2.5.0 [ffbed154] + DocStringExtensions v0.9.5 [6fdf6af0] + LogDensityProblems v2.2.0 [996a588d] + LogDensityProblemsAD v1.13.1 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.0.0 Installation completed after 4.22s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 4604.3 ms ✓ TestEnv 1 dependency successfully precompiled in 5 seconds. 27 already precompiled. Precompiling package dependencies... Precompilation completed after 848.53s ################################################################################ # Testing # Testing LogDensityProblemsAD Status `/tmp/jl_aNIVMC/Project.toml` [47edcb42] ADTypes v1.21.0 [6e4b80f9] BenchmarkTools v1.6.3 [b0b7db55] ComponentArrays v0.15.30 [a0c0ee7d] DifferentiationInterface v0.7.13 [7da242da] Enzyme v0.13.114 [26cc04aa] FiniteDifferences v0.12.33 [f6369f11] ForwardDiff v1.3.1 [6fdf6af0] LogDensityProblems v2.2.0 [996a588d] LogDensityProblemsAD v1.13.1 [37e2e3b7] ReverseDiff v1.16.1 [9f7883ad] Tracker v0.2.38 [e88e6eb3] Zygote v0.7.10 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_aNIVMC/Manifest.toml` [47edcb42] ADTypes v1.21.0 [621f4979] AbstractFFTs v1.5.0 [79e6a3ab] Adapt v4.4.0 [dce04be8] ArgCheck v2.5.0 [4fba245c] ArrayInterface v7.22.0 [a9b6321e] Atomix v1.1.2 [6e4b80f9] BenchmarkTools v1.6.3 [fa961155] CEnum v0.5.0 [082447d4] ChainRules v1.72.6 [d360d2e6] ChainRulesCore v1.26.0 [bbf7d656] CommonSubexpressions v0.3.1 [f70d9fcc] CommonWorldInvalidations v1.0.0 [34da2185] Compat v4.18.1 [b0b7db55] ComponentArrays v0.15.30 [187b0558] ConstructionBase v1.6.0 [9a962f9c] DataAPI v1.16.0 [e2d170a0] DataValueInterfaces v1.0.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [a0c0ee7d] DifferentiationInterface v0.7.13 [ffbed154] DocStringExtensions v0.9.5 [7da242da] Enzyme v0.13.114 [f151be2c] EnzymeCore v0.8.18 [e2ba6199] ExprTools v0.1.10 [1a297f60] FillArrays v1.15.0 [26cc04aa] FiniteDifferences v0.12.33 [f6369f11] ForwardDiff v1.3.1 [069b7b12] FunctionWrappers v1.1.3 [d9f16b24] Functors v0.5.2 [46192b85] GPUArraysCore v0.2.0 [61eb1bfa] GPUCompiler v1.7.5 [076d061b] HashArrayMappedTries v0.2.0 [7869d1d1] IRTools v0.4.15 [615f187c] IfElse v0.1.1 [92d709cd] IrrationalConstants v0.2.6 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.3.0 [63c18a36] KernelAbstractions v0.9.39 [929cbde3] LLVM v9.4.4 [6fdf6af0] LogDensityProblems v2.2.0 [996a588d] LogDensityProblemsAD v1.13.1 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [872c559c] NNlib v0.9.32 [77ba4419] NaNMath v1.1.3 [d8793406] ObjectFile v0.5.0 [3bd65402] Optimisers v0.4.7 [bac558e1] OrderedCollections v1.8.1 [69de0a69] Parsers v2.8.3 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.1 [c1ae055f] RealDot v0.1.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [37e2e3b7] ReverseDiff v1.16.1 [708f8203] Richardson v1.4.2 [431bcebd] SciMLPublic v1.0.1 [7e506255] ScopedValues v1.5.0 [6c6a2e73] Scratch v1.3.0 [dc90abb0] SparseInverseSubset v0.1.2 [276daf66] SpecialFunctions v2.6.1 [aedffcd0] Static v1.3.1 [0d7ed370] StaticArrayInterface v1.8.0 [90137ffa] StaticArrays v1.9.16 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [09ab397b] StructArrays v0.7.2 [53d494c1] StructIO v0.3.1 [ec057cc2] StructUtils v2.6.1 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [9f7883ad] Tracker v0.2.38 [e689c965] Tracy v0.1.6 [013be700] UnsafeAtomics v0.3.0 [e88e6eb3] Zygote v0.7.10 [700de1a5] ZygoteRules v0.2.7 [7cc45869] Enzyme_jll v0.0.235+0 [dad2f222] LLVMExtra_jll v0.0.38+0 [ad6e5548] LibTracyClient_jll v0.13.1+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [9abbd945] Profile v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.0.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.16.0+0 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.12.2 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.4+0 [efcefdf7] PCRE2_jll v10.46.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.67.1+0 [3f19e933] p7zip_jll v17.7.0+0 Testing Running tests... Test Summary: | Pass Total Time Missing DI for unsupported ADType | 2 2 18.1s Test Summary: | Pass Total Time AD via ReverseDiff | 1618 1618 8.2s Test Summary: | Pass Total Time AD via ForwardDiff | 242 242 6.9s Test Summary: | Pass Total Time component vectors | 4 4 2.0s Test Summary: | Pass Total Time chunk heuristics for ForwardDiff | 1 1 0.4s ┌ Warning: `ADgradient`: Keyword argument `x` is ignored └ @ LogDensityProblemsADADTypesExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADADTypesExt.jl:53 Test Summary: | Pass Total Time AD via Tracker | 206 206 5.3s ┌ Warning: `ADgradient`: Keyword argument `x` is ignored └ @ LogDensityProblemsADADTypesExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADADTypesExt.jl:61 Test Summary: | Pass Total Time AD via Zygote | 206 206 37.6s ┌ Warning: `ADgradient`: Keyword argument `x` is ignored └ @ LogDensityProblemsADADTypesExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADADTypesExt.jl:28 AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:502 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ReverseMode{true, false, false, EnzymeCore.FFIABI, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:65 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff(::EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, true, false, false}, ::EnzymeCore.Const{typeof(logdensity)}, ::Type{EnzymeCore.BatchDuplicated}, ::EnzymeCore.Const{TestLogDensity{typeof(test_logdensity1)}}, ::EnzymeCore.BatchDuplicated{Vector{Float64}, 3}) @ Enzyme ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Nothing}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] AD via Enzyme: Error During Test at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 Test threw exception Expression: logdensity_and_gradient(∇ℓ, x) ≅ (test_logdensity1(x), test_gradient(x)) LLVM error: Added modules have incompatible data layouts: e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128 (module) vs e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:10:11:12:13 (jit) Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/iza6e/src/executionengine/utils.jl:28 [inlined] [2] add! @ ~/.julia/packages/LLVM/iza6e/src/orc.jl:434 [inlined] [3] add!(mod::LLVM.Module) @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/QsBMf/src/compiler/orcv2.jl:290 [4] _link(job::GPUCompiler.CompilerJob{<:Enzyme.Compiler.EnzymeTarget}, mod::LLVM.Module, edges::Vector{Any}, adjoint_name::String, primal_name::Union{Nothing, String}, TapeType::Any, prepost::String) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6688 [5] cached_compilation @ ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6782 [inlined] [6] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:6897 [7] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/QsBMf/src/compiler.jl:7041 [8] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:658 [inlined] [9] autodiff @ ~/.julia/packages/Enzyme/QsBMf/src/Enzyme.jl:542 [inlined] [10] logdensity_and_gradient(∇ℓ::LogDensityProblemsADEnzymeExt.EnzymeGradientLogDensity{TestLogDensity{typeof(test_logdensity1)}, EnzymeCore.ForwardMode{true, EnzymeCore.FFIABI, false, false, false}, Tuple{Vector{Float64}, Vector{Float64}, Vector{Float64}}}, x::Vector{Float64}) @ LogDensityProblemsADEnzymeExt ~/.julia/packages/LogDensityProblemsAD/DH6MG/ext/LogDensityProblemsADEnzymeExt.jl:55 [11] top-level scope @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:250 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1961 [inlined] [13] macro expansion @ ~/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:280 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:750 [inlined] Test Summary: | Pass Error Total Time AD via Enzyme | 320 300 620 3m00.9s RNG of the outermost testset: Xoshiro(0xfff0241072ddab67, 0xc53bc12f4c3f0b4e, 0x56d451780b2dd4ba, 0x50a4aa153d208dd8, 0x3649a58b3b63d5db) ERROR: LoadError: Some tests did not pass: 320 passed, 0 failed, 300 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/LogDensityProblemsAD/DH6MG/test/runtests.jl:249 Testing failed after 1086.98s ERROR: LoadError: Package LogDensityProblemsAD errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:3010 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2859 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:572 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:548 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:172 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:161 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:160 [9] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:160 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:159 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:237 [12] include(mod::Module, _path::String) @ Base ./Base.jl:309 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [14] _start() @ Base ./client.jl:577 in expression starting at /PkgEval.jl/scripts/evaluate.jl:228 PkgEval failed after 1977.54s: package has test failures