mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Made the initialization of a CUDA device thread safe.
This commit is contained in:
@@ -64,6 +64,10 @@ typedef unsigned __int64 uint64_t;
|
||||
#if defined(__CUDACC__)
|
||||
#include <curand_kernel.h>
|
||||
#endif
|
||||
#if __cplusplus >= 201103L
|
||||
#include <atomic>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "src/Tensor/TensorMacros.h"
|
||||
|
||||
Reference in New Issue
Block a user