Fix maybeConjugate cuda scope
This commit is contained in:
parent
34a4e79db0
commit
1ceb4cf0d6
@ -47,7 +47,7 @@ namespace acc {
|
|||||||
#endif /* defined(HAVE_CUDA) */
|
#endif /* defined(HAVE_CUDA) */
|
||||||
|
|
||||||
template <typename F>
|
template <typename F>
|
||||||
__MAYBE_DEVICE__ __MAYBE_HOST__
|
__MAYBE_GLOBAL__
|
||||||
void maybeConjugate(F* to, F* from, size_t n) {
|
void maybeConjugate(F* to, F* from, size_t n) {
|
||||||
for (size_t i = 0; i < n; ++i) {
|
for (size_t i = 0; i < n; ++i) {
|
||||||
to[i] = maybeConjugateScalar<F>(from[i]);
|
to[i] = maybeConjugateScalar<F>(from[i]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user