Skip to content

Commit 12251c1

Browse files
committed
fix issue caused by moving device_function
1 parent 743b807 commit 12251c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function compile(def, return_type, types, llvm_return_type=nothing, llvm_types=n
8383
# using the new nonrecursive codegen to handle function lookup ourselves?
8484
if def isa Symbol
8585
args = [gensym() for typ in types]
86-
@eval @device_function @inline $def($(args...)) =
86+
@eval GPUCompiler.@device_function @inline $def($(args...)) =
8787
ccall($("extern $llvm_name"), llvmcall, $return_type, ($(types...),), $(args...))
8888
end
8989

0 commit comments

Comments
 (0)