From 5079ba2da53dc04bbb3073d6ee92c469ecbefbe7 Mon Sep 17 00:00:00 2001 From: Eyal Rozenberg Date: Sat, 16 Nov 2024 21:52:53 +0200 Subject: [PATCH] DELME --- src/cuda/api/memory.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/cuda/api/memory.hpp b/src/cuda/api/memory.hpp index 2a92d56a..285df595 100644 --- a/src/cuda/api/memory.hpp +++ b/src/cuda/api/memory.hpp @@ -632,6 +632,17 @@ inline void copy(span destination, const T(&source)[N], optional_ref +void foo(T(&destination)[N]) +{ + (void) destination; + return; +} + +template <> +void foo(int(&destination)[10]); + + /** * Copy the contents of a span into a C-style array *