1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-30 19:27:06 +01:00

Add messages to get the number of threads for openmp

This commit is contained in:
azusayamaguchi
2015-05-19 14:54:42 +01:00
parent 05d862782f
commit 91f29d4a68
11 changed files with 104 additions and 54 deletions

View File

@@ -10,6 +10,8 @@ int main (int argc, char ** argv)
std::vector<int> simd_layout = GridDefaultSimd(Nd,vComplexD::Nsimd());
std::vector<int> mpi_layout = GridDefaultMpi();
int threads = GridThread::GetThreads();
std::cout << "Grid is setup to use "<<threads<<" threads"<<std::endl;
int Nloop=10;
int nmu=0;