Clean up the Tensor header and get rid of the EIGEN_SLEEP macro.

This commit is contained in:
Rasmus Munk Larsen
2020-12-02 11:04:04 -08:00
parent 70fbcf82ed
commit 71c85df4c1
5 changed files with 11 additions and 18 deletions

View File

@@ -83,7 +83,7 @@ static void initializeDeviceProp() {
// Wait for the other thread to inititialize the properties.
while (!m_devicePropInitialized) {
std::atomic_thread_fence(std::memory_order_acquire);
EIGEN_SLEEP(1000);
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
}
}
}