From 1ceb4cf0d67aa3501fbfc0290880df6ba62456de Mon Sep 17 00:00:00 2001 From: Alejandro Gallo Date: Fri, 13 Jan 2023 12:08:54 +0100 Subject: [PATCH] Fix maybeConjugate cuda scope --- include/atrip/Operations.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/atrip/Operations.hpp b/include/atrip/Operations.hpp index ab80884..40e3430 100644 --- a/include/atrip/Operations.hpp +++ b/include/atrip/Operations.hpp @@ -47,7 +47,7 @@ namespace acc { #endif /* defined(HAVE_CUDA) */ template - __MAYBE_DEVICE__ __MAYBE_HOST__ + __MAYBE_GLOBAL__ void maybeConjugate(F* to, F* from, size_t n) { for (size_t i = 0; i < n; ++i) { to[i] = maybeConjugateScalar(from[i]);