mirror of
https://github.com/paboyle/Grid.git
synced 2025-07-17 13:17:06 +01:00
Compare commits
2 Commits
feature/gp
...
8a098889fc
Author | SHA1 | Date | |
---|---|---|---|
|
8a098889fc | ||
|
ff2ea5de18 |
@@ -405,11 +405,4 @@ NAMESPACE_BEGIN(Grid);
|
|||||||
NAMESPACE_END(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
|
|
||||||
|
|
||||||
|
@@ -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)
|
||||||
|
Reference in New Issue
Block a user