William Moses
William Moses
Merging WIP, will continue in separate PRs
I think Enzyme has an old GPUCompiler in its compat, which we should likely remove
Present issue here is that LLVM.jl dropped support for API's which we need to support 1.11 x/ref https://github.com/maleadt/LLVM.jl/issues/435 cc @frankwswang @avik-pal @mofeing @vchuravy
Various codes work now and no precompilation failures, but not all. Specifically support for the new gc_loaded intrinsic needs to be added, but I don't understand the semantics of it...
It's somewhat intentionally underdocumented at the moment. Specifically it is used to specify how Enzyme injects the code it produces into the Julia runtime. There's presently only one "officially" supported...
If curious for specifics, see below: ```llvm julia> @code_llvm Enzyme.autodiff(Reverse, sin, Active(3.0)) ; @ /Users/wmoses/git/Enzyme.jl/src/Enzyme.jl:317 within `autodiff` define [1 x [1 x double]] @julia_autodiff_2864([1 x double]* nocapture noundef nonnull readonly...
@vchuravy is this now subsumed by recent 1.11 stuff?
@vchuravy can you take a look at this. I think this is the next pending thing for 1.11 support (with the incoming jll bump: https://github.com/JuliaPackaging/Yggdrasil/pull/9354
That is fixed by the jll bump -- which presently seems trapped in yggdrassil hell: https://github.com/JuliaPackaging/Yggdrasil/pull/9354 cc @vchuravy @staticfloat @giordano
@aviatesk okay a jll should now be available