mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
Trips up NVCC for reasons I dont understand on summit
This commit is contained in:
parent
28d6be2a4e
commit
59cd7f3b70
@ -174,6 +174,7 @@ void TA2AAslashField<FImpl, PhotonImpl>::setup(void)
|
|||||||
template <typename FImpl, typename PhotonImpl>
|
template <typename FImpl, typename PhotonImpl>
|
||||||
void TA2AAslashField<FImpl, PhotonImpl>::execute(void)
|
void TA2AAslashField<FImpl, PhotonImpl>::execute(void)
|
||||||
{
|
{
|
||||||
|
#ifndef GRID_NVCC
|
||||||
auto &left = envGet(std::vector<FermionField>, par().left);
|
auto &left = envGet(std::vector<FermionField>, par().left);
|
||||||
auto &right = envGet(std::vector<FermionField>, par().right);
|
auto &right = envGet(std::vector<FermionField>, par().right);
|
||||||
|
|
||||||
@ -237,6 +238,7 @@ void TA2AAslashField<FImpl, PhotonImpl>::execute(void)
|
|||||||
|
|
||||||
envGetTmp(Computation, computation);
|
envGetTmp(Computation, computation);
|
||||||
computation.execute(left, right, kernel, ionameFn, filenameFn, metadataFn);
|
computation.execute(left, right, kernel, ionameFn, filenameFn, metadataFn);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
END_MODULE_NAMESPACE
|
END_MODULE_NAMESPACE
|
||||||
|
Loading…
Reference in New Issue
Block a user