1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Merge branch 'develop' into release/v0.6.0

This commit is contained in:
Antonin Portelli 2016-10-27 11:53:24 +01:00
commit ac99a56237
2 changed files with 1 additions and 2 deletions

View File

@ -227,7 +227,7 @@ namespace Grid {
GridStopWatch timer; GridStopWatch timer;
timer.Start(); timer.Start();
PARALLEL_FOR_LOOP //PARALLEL_FOR_LOOP
for(int idx=0;idx<NN;idx++) { for(int idx=0;idx<NN;idx++) {
pencil_g.LocalIndexToLocalCoor(idx,lcoor); pencil_g.LocalIndexToLocalCoor(idx,lcoor);

View File

@ -48,7 +48,6 @@ void *CartesianCommunicator::ShmBufferMalloc(size_t bytes){
void *ptr = (void *)heap_top; void *ptr = (void *)heap_top;
heap_top += bytes; heap_top += bytes;
heap_bytes+= bytes; heap_bytes+= bytes;
std::cout <<"Shm alloc "<<ptr<<std::endl;
assert(heap_bytes < MAX_MPI_SHM_BYTES); assert(heap_bytes < MAX_MPI_SHM_BYTES);
return ptr; return ptr;
} }