mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add synchronize method to all devices.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
b7551bff92
commit
551eebc8ca
@@ -95,6 +95,10 @@ struct DefaultDevice {
|
||||
return firstLevelCacheSize();
|
||||
#endif
|
||||
}
|
||||
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void synchronize() const {
|
||||
// Nothing. Default device operations are synchronous.
|
||||
}
|
||||
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE int majorDeviceVersion() const {
|
||||
#if !defined(EIGEN_GPU_COMPILE_PHASE)
|
||||
|
||||
Reference in New Issue
Block a user