From 21a8beecce95c0057b69c89744342fae0399fe33 Mon Sep 17 00:00:00 2001 From: N5N3 <2642243996@qq.com> Date: Mon, 21 Feb 2022 01:56:42 +0800 Subject: [PATCH] Move `GPUArrays.backend` here This function is the last piece we need to enable gpu broadcast for `StructArray`. --- src/Adapt.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Adapt.jl b/src/Adapt.jl index b70a545..17c8cc3 100644 --- a/src/Adapt.jl +++ b/src/Adapt.jl @@ -52,4 +52,6 @@ include("arrays.jl") # helpers include("macro.jl") +function backend end + end # module