1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-19 08:17:05 +01:00

Separate pools for small and large allocations cache

This commit is contained in:
Peter Boyle
2020-05-09 22:57:21 -04:00
parent efe5bc6a3c
commit 2bb2c68e15
4 changed files with 25 additions and 8 deletions

View File

@ -355,6 +355,8 @@ void Grid_init(int *argc,char ***argv)
//////////////////////////////////////////////////////////
GridGpuInit(); // Must come first to set device prior to MPI init
PointerCache::Init();
if( GridCmdOptionExists(*argv,*argv+*argc,"--shm") ){
int MB;
arg= GridCmdOptionPayload(*argv,*argv+*argc,"--shm");