#include <ParamMap.h>
Classes | |
| struct | ParamMapping |
Public Member Functions | |
| ParamMap ()=default | |
| template<typename T> | |
| HALIDE_ATTRIBUTE_DEPRECATED("ParamMap is deprecated in Halide 16 and will be removed in Halide 17. " "Callers requiring threadsafe JIT calls should migrate to use compile_to_callable() instead.") ParamMap(const std | HALIDE_ATTRIBUTE_DEPRECATED ("ParamMap is deprecated in Halide 16 and will be removed in Halide 17. " "Callers requiring threadsafe JIT calls should migrate to use compile_to_callable() instead.") void set(const Param< T > &p |
| v | set_scalar (val) |
| HALIDE_ATTRIBUTE_DEPRECATED ("ParamMap is deprecated in Halide 16 and will be removed in Halide 17. " "Callers requiring threadsafe JIT calls should migrate to use compile_to_callable() instead.") void set(const ImageParam &p | |
| size_t | size () const |
| const Internal::Parameter & | map (const Internal::Parameter &p, Buffer<> *&buf_out_param) const |
| If there is an entry in the ParamMap for this Parameter, return it. | |
| Internal::Parameter & | map (Internal::Parameter &p, Buffer<> *&buf_out_param) const |
Static Public Member Functions | |
| static const ParamMap & | empty_map () |
| A const ref to an empty ParamMap. | |
Public Attributes | |
| HALIDE_ATTRIBUTE_DEPRECATED("ParamMap is deprecated in Halide 16 and will be removed in Halide 17. " "Callers requiring threadsafe JIT calls should migrate to use compile_to_callable() instead.") ParamMap(const std T | val |
| ParamArg | pa |
| pa | mapped_param = v |
| pa | buf_out_param = nullptr |
| mapping [p.parameter()] = pa | |
| const Buffer & | buf |
Definition at line 17 of file ParamMap.h.
|
default |
References ParamMap().
Referenced by empty_map(), and ParamMap().
| HALIDE_ATTRIBUTE_DEPRECATED("ParamMap is deprecated in Halide 16 and will be removed in Halide 17. " "Callers requiring threadsafe JIT calls should migrate to use compile_to_callable() instead.") ParamMap(const std Halide::ParamMap::HALIDE_ATTRIBUTE_DEPRECATED | ( | "ParamMap is deprecated in Halide 16 and will be removed in Halide 17. " "Callers requiring threadsafe JIT calls should migrate to use compile_to_callable() instead." | ) | const & |
References HALIDE_ATTRIBUTE_DEPRECATED().
Referenced by HALIDE_ATTRIBUTE_DEPRECATED().
| Halide::ParamMap::HALIDE_ATTRIBUTE_DEPRECATED | ( | "ParamMap is deprecated in Halide 16 and will be removed in Halide 17. " "Callers requiring threadsafe JIT calls should migrate to use compile_to_callable() instead." | ) | const & |
|
inline |
Definition at line 95 of file ParamMap.h.
| const Internal::Parameter & Halide::ParamMap::map | ( | const Internal::Parameter & | p, |
| Buffer<> *& | buf_out_param ) const |
If there is an entry in the ParamMap for this Parameter, return it.
Otherwise return the parameter itself.
References buf_out_param.
| Internal::Parameter & Halide::ParamMap::map | ( | Internal::Parameter & | p, |
| Buffer<> *& | buf_out_param ) const |
References buf_out_param.
|
inlinestatic |
A const ref to an empty ParamMap.
Useful for default function arguments, which would otherwise require a copy constructor (with llvm in c++98 mode)
Definition at line 110 of file ParamMap.h.
References ParamMap().
Referenced by Halide::Func::infer_input_bounds(), Halide::Func::infer_input_bounds(), Halide::Func::infer_input_bounds(), Halide::Func::infer_input_bounds(), Halide::Pipeline::infer_input_bounds(), Halide::Pipeline::infer_input_bounds(), Halide::Pipeline::infer_input_bounds(), Halide::Pipeline::infer_input_bounds(), Halide::Func::realize(), Halide::Func::realize(), Halide::Pipeline::realize(), and Halide::Pipeline::realize().
| HALIDE_ATTRIBUTE_DEPRECATED("ParamMap is deprecated in Halide 16 and will be removed in Halide 17. " "Callers requiring threadsafe JIT calls should migrate to use compile_to_callable() instead.") ParamMap(const std T Halide::ParamMap::val |
Definition at line 80 of file ParamMap.h.
Referenced by Halide::ParamMap::ParamMapping::ParamMapping(), and set_scalar().
| ParamArg Halide::ParamMap::pa |
Definition at line 83 of file ParamMap.h.
| pa Halide::ParamMap::mapped_param = v |
Definition at line 84 of file ParamMap.h.
| pa Halide::ParamMap::buf_out_param = nullptr |
Definition at line 85 of file ParamMap.h.
| Halide::ParamMap::mapping[p.parameter()] = pa |
Definition at line 86 of file ParamMap.h.
| const Buffer& Halide::ParamMap::buf |
Definition at line 91 of file ParamMap.h.