Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Adapt to Julia 1.7 #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dfdx
Copy link

@dfdx dfdx commented Dec 11, 2021

No description provided.

@dfdx
Copy link
Author

dfdx commented Dec 11, 2021

Currently fails in Julia 1.7 with:

cassette.jl: Error During Test at /home/az/work/Mixtape.jl/test/runtests.jl:15
  Got exception outside of a @test
  LoadError: UndefVarError: OrcJIT not defined
  Stacktrace:
    [1] _jitlink(job::GPUCompiler.CompilerJob{Mixtape.MixtapeCompilerTarget, Mixtape.MixtapeCompilerParams, GPUCompiler.FunctionSpec{typeof(Main.TestMixtape.CassetteV2.Target.foo), Tuple{Float64}}}, ::Tuple{DataType, LLVM.Module, String, String})
      @ Mixtape ~/work/Mixtape.jl/src/Mixtape.jl:504
...

It's on LLVM v4.7.0. Is it just renaming of a struct or things are more complicated?

@femtomc
Copy link
Member

femtomc commented Dec 11, 2021

Mixtape uses GPUCompiler to link in the execution engine. This means that it has to be compat with GPUCompiler — which I think no longer exports this as an interface.

@dfdx
Copy link
Author

dfdx commented Dec 12, 2021

Perhaps we can stick to an earlier version of GPUCompiler, but eventually we will get to incompatible set of dependencies. Any other idea how to resolve it?

@femtomc
Copy link
Member

femtomc commented Jan 4, 2022

@dfdx I'm working on this here #19 -- looks like it will be more intensive than I thought.

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.

None yet

2 participants