Fix maybeConjugate cuda scope

This commit is contained in:
Alejandro Gallo 2023-01-13 12:08:54 +01:00
parent 34a4e79db0
commit 1ceb4cf0d6

View File

@ -47,7 +47,7 @@ namespace acc {
#endif /* defined(HAVE_CUDA) */
template <typename F>
__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<F>(from[i]);