Skip to content

Commit

Permalink
Upgrade to GPUCompiler 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Sep 15, 2021
1 parent 9742b5f commit 48d7123
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 @@ -17,7 +17,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Adapt = "3.3"
CEnum = "0.4"
Enzyme_jll = "~0.0.18"
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 @@ -1458,7 +1458,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 48d7123

Please sign in to comment.