mirror of
https://github.com/paboyle/Grid.git
synced 2026-01-04 03:29:34 +00:00
Change the SIMD command correctly with precision = double vs. single and
connect the "Real" default precisoin to a configure flag. Have RealF, RealD and Real types, where Real is compile target dependent single/double, RealF is single and RealD is double etc..
This commit is contained in:
@@ -9,7 +9,7 @@ int main (int argc, char ** argv)
|
||||
|
||||
std::vector<int> latt_size = GridDefaultLatt();
|
||||
int Nd = latt_size.size();
|
||||
std::vector<int> simd_layout = GridDefaultSimd(Nd,vComplexF::Nsimd());
|
||||
std::vector<int> simd_layout = GridDefaultSimd(Nd,vComplex::Nsimd());
|
||||
std::vector<int> mpi_layout = GridDefaultMpi();
|
||||
|
||||
std::vector<int> mask(Nd,1);
|
||||
|
||||
Reference in New Issue
Block a user