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 186 of file HalideBuffer.h.
std::atomic<int> Halide::Runtime::DeviceRefCount::count {1} |
Definition at line 189 of file HalideBuffer.h.
BufferDeviceOwnership Halide::Runtime::DeviceRefCount::ownership {BufferDeviceOwnership::Allocated} |
Definition at line 190 of file HalideBuffer.h.
Referenced by Halide::Runtime::Buffer< T, Dims, InClassDimStorage >::device_wrap_native().