mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-19 00:07:05 +01:00
create separate InitMessage for MemoryManager that can be called after communicator setup
This commit is contained in:
@ -377,9 +377,7 @@ void Grid_init(int *argc,char ***argv)
|
||||
std::cout << GridLogMessage << "Mapped stencil comms buffers as MAP_HUGETLB "<<std::endl;
|
||||
}
|
||||
|
||||
#ifndef GRID_UVM
|
||||
std::cout << GridLogMessage << "MemoryManager Cache "<< MemoryManager::DeviceMaxBytes <<" bytes "<<std::endl;
|
||||
#endif
|
||||
MemoryManager::InitMessage();
|
||||
|
||||
if( GridCmdOptionExists(*argv,*argv+*argc,"--debug-mem") ){
|
||||
MemoryProfiler::debug = true;
|
||||
|
Reference in New Issue
Block a user