Halide
|
A similar struct for managing device allocations. More...
#include <HalideBuffer.h>
Public Attributes | |
std::atomic< int > | count {1} |
BufferDeviceOwnership | ownership {BufferDeviceOwnership::Allocated} |
A similar struct for managing device allocations.
Definition at line 180 of file HalideBuffer.h.
std::atomic<int> Halide::Runtime::DeviceRefCount::count {1} |
Definition at line 183 of file HalideBuffer.h.
Referenced by Halide::Runtime::Buffer< double * >::device_and_host_free(), Halide::Runtime::Buffer< double * >::device_detach_native(), and Halide::Runtime::Buffer< double * >::device_free().
BufferDeviceOwnership Halide::Runtime::DeviceRefCount::ownership {BufferDeviceOwnership::Allocated} |
Definition at line 184 of file HalideBuffer.h.
Referenced by Halide::Runtime::Buffer< double * >::device_and_host_free(), Halide::Runtime::Buffer< double * >::device_detach_native(), Halide::Runtime::Buffer< double * >::device_free(), Halide::Runtime::Buffer< double * >::device_ownership(), and Halide::Runtime::Buffer< double * >::device_wrap_native().