Halide 16.0.0
Halide compiler and libraries
|
#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 |
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 & |
v Halide::ParamMap::set_scalar | ( | val | ) |
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.
Internal::Parameter & Halide::ParamMap::map | ( | Internal::Parameter & | p, |
Buffer<> *& | buf_out_param | ||
) | const |
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 Halide::cast().
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().
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.
Definition at line 85 of file ParamMap.h.
Halide::ParamMap::mapping[p.parameter()] = pa |
Definition at line 86 of file ParamMap.h.
Definition at line 91 of file ParamMap.h.