1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Slow compile on NVCC switch off conserved current

This commit is contained in:
Peter Boyle 2020-04-29 08:43:12 -04:00
parent 103e7ae2f0
commit dd3ebc2ce4

View File

@ -644,6 +644,7 @@ void CayleyFermion5D<Impl>::ContractConservedCurrent( PropagatorField &q_in_1,
Current curr_type,
unsigned int mu)
{
#ifndef GRID_NVCC
Gamma::Algebra Gmu [] = {
Gamma::Algebra::GammaX,
Gamma::Algebra::GammaY,
@ -762,6 +763,7 @@ void CayleyFermion5D<Impl>::ContractConservedCurrent( PropagatorField &q_in_1,
else q_out += C;
}
#endif
}
template <class Impl>
@ -826,7 +828,7 @@ void CayleyFermion5D<Impl>::SeqConservedCurrent(PropagatorField &q_in,
}
#endif
#if 1
#ifndef GRID_NVCC
////////////////////////////////////////////////
// GENERAL CAYLEY CASE
////////////////////////////////////////////////