1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-30 11:17:07 +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 6f387b4916
commit c8c74e591f
11 changed files with 104 additions and 54 deletions

View File

@@ -13,6 +13,9 @@ int main (int argc, char ** argv)
std::vector<int> simd_layout = GridDefaultSimd(Nd,vComplex::Nsimd());
std::vector<int> mpi_layout = GridDefaultMpi();
int threads = GridThread::GetThreads();
std::cout << "Grid is setup to use "<<threads<<" threads"<<std::endl;
std::cout << "===================================================================================================="<<std::endl;
std::cout << "= Benchmarking SU3xSU3 x= x*y"<<std::endl;
std::cout << "===================================================================================================="<<std::endl;