From 48d7123d2193f18fc49ac968994aaecb1fa08d3a Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Wed, 15 Sep 2021 13:38:14 -0400 Subject: [PATCH] Upgrade to GPUCompiler 0.13 --- Project.toml | 2 +- src/compiler.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 01e60d51bf..7abe033376 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/compiler.jl b/src/compiler.jl index ee5fb1b068..36208c385e 100644 --- a/src/compiler.jl +++ b/src/compiler.jl @@ -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