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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user