mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-22 22:33:15 +08:00
Made TensorDeviceCuda.h compile on windows
This commit is contained in:
parent
a1d5c503fa
commit
a6a3fd0703
@ -88,7 +88,11 @@ static void initializeDeviceProp() {
|
|||||||
#if __cplusplus >= 201103L
|
#if __cplusplus >= 201103L
|
||||||
std::atomic_thread_fence(std::memory_order_acquire);
|
std::atomic_thread_fence(std::memory_order_acquire);
|
||||||
#endif
|
#endif
|
||||||
|
#if EIGEN_OS_WIN || EIGEN_OS_WIN64
|
||||||
|
Sleep(1000);
|
||||||
|
#else
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user