Use acc::maybeConjugate for cpu code
This commit is contained in:
parent
e4f326e394
commit
af42b353c4
@ -634,13 +634,10 @@ void getEnergySame
|
|||||||
_t_buffer, \
|
_t_buffer, \
|
||||||
(int const*)&NoNo \
|
(int const*)&NoNo \
|
||||||
)
|
)
|
||||||
#define MAYBE_CONJ(_conj, _buffer) \
|
#define MAYBE_CONJ(_conj, _buffer) \
|
||||||
do { \
|
acc::maybeConjugate((DataFieldType<F>*)_conj, \
|
||||||
for (size_t __i = 0; __i < NoNoNo; ++__i) { \
|
(DataFieldType<F>*)_buffer,\
|
||||||
_conj[__i] \
|
NoNoNo);
|
||||||
= maybeConjugate<F>(_buffer[__i]); \
|
|
||||||
} \
|
|
||||||
} while (0)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
F one{1.0}, m_one{-1.0}, zero{0.0};
|
F one{1.0}, m_one{-1.0}, zero{0.0};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user