1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-16 12:56:55 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Boyle
8a098889fc Update FlightRecorder.cc 2024-04-30 21:15:08 +01:00
Peter Boyle
ff2ea5de18 Update Tensor_traits.h 2024-04-11 14:25:45 -04:00
2 changed files with 2 additions and 7 deletions

View File

@@ -405,11 +405,4 @@ NAMESPACE_BEGIN(Grid);
NAMESPACE_END(Grid);
#ifdef GRID_SYCL
template<typename T> struct
sycl::is_device_copyable<T, typename std::enable_if<
Grid::isGridTensor<T>::value && (!std::is_trivially_copyable<T>::value),
void>::type>
: public std::true_type {};
#endif

View File

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