Go to the documentation of this file. 1 #ifndef CUDADataFormats_Common_ProductBase_h
2 #define CUDADataFormats_Common_ProductBase_h
13 class ScopedContextBase;
70 bool changed =
mayReuseStream_.compare_exchange_strong(expected,
false);
std::shared_ptr< std::remove_pointer_t< cudaEvent_t > > SharedEventPtr
ProductBase & operator=(ProductBase &&other)
std::shared_ptr< std::remove_pointer_t< cudaStream_t > > SharedStreamPtr
std::atomic< bool > mayReuseStream_
bool mayReuseStream() const
ProductBase(int device, SharedStreamPtr stream, SharedEventPtr event)
cudaEvent_t event() const
ProductBase & operator=(const ProductBase &)=delete
const SharedStreamPtr & streamPtr() const
cudaStream_t stream() const
ProductBase(ProductBase &&other)
Namespace of DDCMS conversion namespace.