Halide
Halide::Runtime::DeviceRefCount Struct Reference

A similar struct for managing device allocations. More...

#include <HalideBuffer.h>

Public Attributes

std::atomic< int > count {1}
 
BufferDeviceOwnership ownership {BufferDeviceOwnership::Allocated}
 

Detailed Description

A similar struct for managing device allocations.

Definition at line 100 of file HalideBuffer.h.

Member Data Documentation

◆ count

std::atomic<int> Halide::Runtime::DeviceRefCount::count {1}

Definition at line 103 of file HalideBuffer.h.

◆ ownership

BufferDeviceOwnership Halide::Runtime::DeviceRefCount::ownership {BufferDeviceOwnership::Allocated}

The documentation for this struct was generated from the following file: