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 *