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

Update FlightRecorder.cc

This commit is contained in:
Peter Boyle 2024-04-30 21:15:08 +01:00 committed by GitHub
parent ff2ea5de18
commit 8a098889fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -290,7 +290,9 @@ void FlightRecorder::xmitLog(void *buf,uint64_t bytes)
deviceVector<uint64_t> dev(1); deviceVector<uint64_t> dev(1);
acceleratorCopyToDevice(&word,&dev[0],sizeof(uint64_t)); acceleratorCopyToDevice(&word,&dev[0],sizeof(uint64_t));
acceleratorCopySynchronise(); acceleratorCopySynchronise();
#ifndef GRID_COMMS_NONE
MPI_Barrier(MPI_COMM_WORLD); MPI_Barrier(MPI_COMM_WORLD);
#endif
} }
} }
void FlightRecorder::recvLog(void *buf,uint64_t bytes,int rank) void FlightRecorder::recvLog(void *buf,uint64_t bytes,int rank)