Halide
HalideBuffer.h File Reference
#include <algorithm>
#include <atomic>
#include <cassert>
#include <limits>
#include <memory>
#include <stdint.h>
#include <string.h>
#include <vector>
#include "HalideRuntime.h"

Go to the source code of this file.

Classes

class  Halide::Runtime::Buffer< T, D >
 A templated Buffer class that wraps halide_buffer_t and adds functionality. More...
 
struct  Halide::Runtime::AllInts< Args >
 
struct  Halide::Runtime::AllInts<>
 
struct  Halide::Runtime::AllInts< T, Args... >
 
struct  Halide::Runtime::AllInts< float, Args... >
 
struct  Halide::Runtime::AllInts< double, Args... >
 
struct  Halide::Runtime::AllocationHeader
 A struct acting as a header for allocations owned by the Buffer class itself. More...
 
struct  Halide::Runtime::DeviceRefCount
 A similar struct for managing device allocations. More...
 
class  Halide::Runtime::Buffer< T, D >
 A templated Buffer class that wraps halide_buffer_t and adds functionality. More...
 
class  Halide::Runtime::Buffer< T, D >::Dimension
 Read-only access to the shape. More...
 
struct  Halide::Runtime::Buffer< T, D >::Dimension::iterator
 An iterator class, so that you can iterate over coordinates in a dimensions using a range-based for loop. More...
 

Namespaces

 Halide
 This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
 
 Halide::Runtime
 
 Halide::Runtime::Internal
 

Macros

#define HALIDE_ALLOCA   __builtin_alloca
 

Enumerations

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

Functions

template<typename Container >
bool Halide::Runtime::Internal::any_zero (const Container &c)
 

Detailed Description

Defines a Buffer type that wraps from halide_buffer_t and adds functionality, and methods for more conveniently iterating over the samples in a halide_buffer_t outside of Halide code.

Definition in file HalideBuffer.h.

Macro Definition Documentation

◆ HALIDE_ALLOCA

#define HALIDE_ALLOCA   __builtin_alloca

Definition at line 30 of file HalideBuffer.h.