Halide 19.0.0
Halide compiler and libraries
|
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 185 of file HalideBuffer.h.
std::atomic<int> Halide::Runtime::DeviceRefCount::count {1} |
BufferDeviceOwnership Halide::Runtime::DeviceRefCount::ownership {BufferDeviceOwnership::Allocated} |
Definition at line 189 of file HalideBuffer.h.
Referenced by Halide::Runtime::Buffer< T, Dims, InClassDimStorage >::device_and_host_free(), Halide::Runtime::Buffer< T, Dims, InClassDimStorage >::device_detach_native(), Halide::Runtime::Buffer< T, Dims, InClassDimStorage >::device_free(), Halide::Runtime::Buffer< T, Dims, InClassDimStorage >::device_ownership(), and Halide::Runtime::Buffer< T, Dims, InClassDimStorage >::device_wrap_native().