Halide
Halide::Pipeline::RealizationArg Struct Reference

#include <Pipeline.h>

Public Member Functions

 RealizationArg (Realization &r)
 
 RealizationArg (Realization &&r)
 
 RealizationArg (halide_buffer_t *buf)
 
template<typename T , int D>
 RealizationArg (Runtime::Buffer< T, D > &dst)
 
template<typename T >
HALIDE_NO_USER_CODE_INLINE RealizationArg (Buffer< T > &dst)
 
template<typename T , typename... Args, typename = typename std::enable_if<Internal::all_are_convertible<Buffer<>, Args...>::value>::type>
 RealizationArg (Buffer< T > &a, Args &&... args)
 
 RealizationArg (RealizationArg &&from)=default
 
size_t size () const
 

Public Attributes

Realizationr {nullptr}
 
halide_buffer_tbuf {nullptr}
 
std::unique_ptr< std::vector< Buffer<> > > buffer_list
 

Detailed Description

Definition at line 99 of file Pipeline.h.

Constructor & Destructor Documentation

◆ RealizationArg() [1/7]

Halide::Pipeline::RealizationArg::RealizationArg ( Realization r)
inline

Definition at line 105 of file Pipeline.h.

◆ RealizationArg() [2/7]

Halide::Pipeline::RealizationArg::RealizationArg ( Realization &&  r)
inline

Definition at line 108 of file Pipeline.h.

◆ RealizationArg() [3/7]

Halide::Pipeline::RealizationArg::RealizationArg ( halide_buffer_t buf)
inline

Definition at line 111 of file Pipeline.h.

◆ RealizationArg() [4/7]

template<typename T , int D>
Halide::Pipeline::RealizationArg::RealizationArg ( Runtime::Buffer< T, D > &  dst)
inline

Definition at line 115 of file Pipeline.h.

◆ RealizationArg() [5/7]

template<typename T >
HALIDE_NO_USER_CODE_INLINE Halide::Pipeline::RealizationArg::RealizationArg ( Buffer< T > &  dst)
inline

Definition at line 119 of file Pipeline.h.

◆ RealizationArg() [6/7]

template<typename T , typename... Args, typename = typename std::enable_if<Internal::all_are_convertible<Buffer<>, Args...>::value>::type>
Halide::Pipeline::RealizationArg::RealizationArg ( Buffer< T > &  a,
Args &&...  args 
)
inline

Definition at line 124 of file Pipeline.h.

References buffer_list.

◆ RealizationArg() [7/7]

Halide::Pipeline::RealizationArg::RealizationArg ( RealizationArg &&  from)
default

Member Function Documentation

◆ size()

size_t Halide::Pipeline::RealizationArg::size ( ) const
inline

Definition at line 129 of file Pipeline.h.

References buffer_list, r, and Halide::Realization::size().

Member Data Documentation

◆ r

Realization* Halide::Pipeline::RealizationArg::r {nullptr}

Definition at line 101 of file Pipeline.h.

Referenced by size().

◆ buf

halide_buffer_t* Halide::Pipeline::RealizationArg::buf {nullptr}

Definition at line 102 of file Pipeline.h.

◆ buffer_list

std::unique_ptr<std::vector<Buffer<> > > Halide::Pipeline::RealizationArg::buffer_list

Definition at line 103 of file Pipeline.h.

Referenced by RealizationArg(), and size().


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