Home
last modified time | relevance | path

Searched refs:semaphore_ (Results 1 – 1 of 1) sorted by relevance

/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDeviceCuda.h102 CudaStreamDevice() : stream_(&default_stream), scratch_(NULL), semaphore_(NULL) { in initializeDeviceProp()
107 …mDevice(int device) : stream_(&default_stream), device_(device), scratch_(NULL), semaphore_(NULL) { in initializeDeviceProp()
115 : stream_(stream), device_(device), scratch_(NULL), semaphore_(NULL) { in initializeDeviceProp()
166 if (semaphore_ == NULL) { in initializeDeviceProp()
168 semaphore_ = reinterpret_cast<unsigned int*>(scratch); in initializeDeviceProp()
169 cudaError_t err = cudaMemsetAsync(semaphore_, 0, sizeof(unsigned int), *stream_); in initializeDeviceProp()
173 return semaphore_; in initializeDeviceProp()
180 mutable unsigned int* semaphore_; in initializeDeviceProp() variable