Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Runtime Namespace Reference

Namespaces

namespace  Internal
 

Classes

struct  AllInts
 
struct  AllInts< double, Args... >
 
struct  AllInts< float, Args... >
 
struct  AllInts< T, Args... >
 
struct  AllInts<>
 
struct  AllocationHeader
 A struct acting as a header for allocations owned by the Buffer class itself. More...
 
class  Buffer
 A templated Buffer class that wraps halide_buffer_t and adds functionality. More...
 
struct  DeviceRefCount
 A similar struct for managing device allocations. More...
 

Enumerations

enum struct  BufferDeviceOwnership : int {
  Allocated , WrappedNative , Unmanaged , AllocatedDeviceAndHost ,
  Cropped
}
 This indicates how to deallocate the device for a Halide::Runtime::Buffer. More...
 

Variables

constexpr int AnyDims = -1
 

Enumeration Type Documentation

◆ BufferDeviceOwnership

enum struct Halide::Runtime::BufferDeviceOwnership : int
strong

This indicates how to deallocate the device for a Halide::Runtime::Buffer.

Enumerator
Allocated 
WrappedNative 

‍halide_device_free will be called when device ref count goes to zero

Unmanaged 

‍halide_device_detach_native will be called when device ref count goes to zero

AllocatedDeviceAndHost 

‍No free routine will be called when device ref count goes to zero

Cropped 

‍Call device_and_host_free when DevRefCount goes to zero.

Definition at line 177 of file HalideBuffer.h.

Variable Documentation

◆ AnyDims