tshort / StaticCompiler.jl

Compiles Julia code to a standalone library (experimental)
Other
489 stars 31 forks source link

CompatHelper: bump compat for GPUCompiler to 0.18, (keep existing compat) #99

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

This pull request changes the compat entry for the GPUCompiler package from 0.16, 0.17 to 0.16, 0.17, 0.18. This keeps the compat entries for earlier versions.

Note: I have not tested your package with this new compat entry. It is your responsibility to make sure that your package tests pass before you merge this pull request.

brenhinkeller commented 1 year ago

Ok, looks like the GPUCompiler interface changes in a relevant way in 0.18... in particular we're getting

ERROR: LoadError: MethodError: no method matching GPUCompiler.FunctionSpec(::typeof(times_table), ::Type{Tuple{Int64, Ptr{Ptr{UInt8}}}}, ::Bool, ::String)
[203](https://github.com/tshort/StaticCompiler.jl/actions/runs/4458862326/jobs/7830951312?pr=99#step:5:206)

[204](https://github.com/tshort/StaticCompiler.jl/actions/runs/4458862326/jobs/7830951312?pr=99#step:5:207)
Closest candidates are:
[205](https://github.com/tshort/StaticCompiler.jl/actions/runs/4458862326/jobs/7830951312?pr=99#step:5:208)
  GPUCompiler.FunctionSpec(!Matched::Type, ::Type, ::Integer)