Skip to content

Commit

Permalink
Upgrade to GPUCompiler 0.13
Browse files Browse the repository at this point in the history
(cherry picked from commit 48d7123)
  • Loading branch information
vchuravy committed Oct 11, 2021
1 parent 667b725 commit e1aa86f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ObjectFile = "d8793406-e978-5875-9003-1fc021f44a92"
Adapt = "3.3"
CEnum = "0.4"
Enzyme_jll = "~0.0.16"
GPUCompiler = "0.12"
GPUCompiler = "0.13"
LLVM = "4.1"
ObjectFile = "0.3"
julia = "1.6"
2 changes: 1 addition & 1 deletion src/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ function lower_convention(@nospecialize(job::CompilerJob), mod::LLVM.Module, ent
entry_ft = eltype(llvmtype(entry_f)::LLVM.PointerType)::LLVM.FunctionType

RT = LLVM.return_type(entry_ft)
args = GPUCompiler.classify_arguments(job, entry_f)
args = GPUCompiler.classify_arguments(job, entry_ft)
filter!(args) do arg
arg.cc != GPUCompiler.GHOST
end
Expand Down

0 comments on commit e1aa86f

Please sign in to comment.