mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-24 07:53:18 +01:00
create separate InitMessage for MemoryManager that can be called after communicator setup
This commit is contained in:
1 parent
ddbb008694
commit
6365a89ba3
3 files changed
+22
-19
No files matched your search
+1
-3
@@ -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