From 839050b506e5a85e5c91957b94a8fa325cc66b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= <15837247+mofeing@users.noreply.github.com> Date: Wed, 8 Jan 2025 15:35:36 +0100 Subject: [PATCH] Update ext/ReactantCUDAExt.jl Co-authored-by: jumerckx <31353884+jumerckx@users.noreply.github.com> --- ext/ReactantCUDAExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ReactantCUDAExt.jl b/ext/ReactantCUDAExt.jl index 0e2ec3a8f..9e273a85a 100644 --- a/ext/ReactantCUDAExt.jl +++ b/ext/ReactantCUDAExt.jl @@ -363,7 +363,7 @@ function to_bytes(x) end end -function Reactant.make_tracer(seen, @nospecialize(prev::CuTracedArray{T,N}), @nospecialize(path), mode; kwargs...) +function Reactant.make_tracer(seen, @nospecialize(prev::CuTracedArray), @nospecialize(path), mode; kwargs...) x = Base.unsafe_pointer_to_objref(Base.reinterpret(Ptr{Cvoid}, prev.ptr))::TracedRArray return Reactant.make_tracer(seen, x, path, mode; kwargs...) end