Skip to content

Conversation

@glou-nes
Copy link
Contributor

@glou-nes glou-nes commented Dec 4, 2024

@mofeing, unblocks several tests in #311
Fix #196.
Base.llvmcall doesn't handle type NTuple{N,Ptr{Cvoid}} for N=0. So the Julia LLVM codegen cannot process parameter less call like @jit Ops.constant([1]).
Adapt the generated function ExecutableCall and LLVM glue code to deal with this case.

@mofeing
Copy link
Collaborator

mofeing commented Dec 4, 2024

awesome!

@mofeing mofeing mentioned this pull request Dec 4, 2024
18 tasks
@glou-nes glou-nes changed the title fix #196 fix: #196 Dec 4, 2024
@wsmoses wsmoses merged commit 7a3bc10 into EnzymeAD:main Dec 5, 2024
19 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crash with parameter less function

3 participants