host
A simple allocator for STL containers which upholds alignment specifications.
A number of functions are requirements for STL compliance - e.g. allocators compare equal.
Classes
Section titled “Classes”| Name | Description |
|---|---|
RuntimeCompiler |
|
VM_Cast_Table |
Typedefs
Section titled “Typedefs”| Return | Name | Description |
|---|---|---|
void(*)(const void **src_ptrs, void *dest_data) |
ExprKernelFunc |
The signature for evaluation of lineriazable arrays of single datatypes/layouts. |
ExprKernelFunc
Section titled “ExprKernelFunc”using ExprKernelFunc = void(*)(const void **src_ptrs, void *dest_data)The signature for evaluation of lineriazable arrays of single datatypes/layouts.
Functions
Section titled “Functions”| Return | Name | Description |
|---|---|---|
DestT |
vm_cast_logic |
|
void |
execute_expression_recursive |
|
void |
scatter_add_recursive |
|
Scalar |
sum_recursive |
|
Scalar |
mean_recursive |
|
Scalar |
var_recursive |
|
Scalar |
std_recursive |
|
Scalar |
max_recursive |
|
Scalar |
argmax_recursive |
|
Scalar |
min_recursive |
|
Scalar |
argmin_recursive |
|
Scalar |
all_recursive |
|
Scalar |
any_recursive |
|
std::string |
compute_kernel_hash |
Compute a hash of the expression function/kernel based on types and metadata. |
vm_cast_logic
Section titled “vm_cast_logic”template<typename DestT, typename SrcT> DestT vm_cast_logic(const void * ptr)execute_expression_recursive
Section titled “execute_expression_recursive”template<typename DestT, typename CoordsT, ArrayExpression Expr, class Result> void execute_expression_recursive(Expr expr, Result result, CoordsT & coords, ssize_t axis)scatter_add_recursive
Section titled “scatter_add_recursive”template<typename DestT, typename IndexT, typename SrcT, ArrayLike Dest, ArrayLike Index, ArrayLike Src> void scatter_add_recursive(Dest & dest, const Index & indices, const Src & src)sum_recursive
Section titled “sum_recursive”template<typename T, ArrayLike A> Scalar sum_recursive(const A & arr)mean_recursive
Section titled “mean_recursive”template<typename T, ArrayLike A> Scalar mean_recursive(const A & arr)var_recursive
Section titled “var_recursive”template<typename T, ArrayLike A> Scalar var_recursive(const A & arr, ssize_t ddof = 0)std_recursive
Section titled “std_recursive”template<typename T, ArrayLike A> Scalar std_recursive(const A & arr, ssize_t ddof = 0)max_recursive
Section titled “max_recursive”template<typename T, ArrayLike A> Scalar max_recursive(const A & arr)argmax_recursive
Section titled “argmax_recursive”template<typename T, ArrayLike A> Scalar argmax_recursive(const A & arr)min_recursive
Section titled “min_recursive”template<typename T, ArrayLike A> Scalar min_recursive(const A & arr)argmin_recursive
Section titled “argmin_recursive”template<typename T, ArrayLike A> Scalar argmin_recursive(const A & arr)all_recursive
Section titled “all_recursive”template<typename T, ArrayLike A> Scalar all_recursive(const A & arr)any_recursive
Section titled “any_recursive”template<typename T, ArrayLike A> Scalar any_recursive(const A & arr)compute_kernel_hash
Section titled “compute_kernel_hash”std::string compute_kernel_hash(DType dest_t, DType src_t, DType work_t, const SOArrayPolicy & dest_layout, const std::vector< Instruction > & instrs, const std::vector< SOArrayPolicy > & layouts, const std::vector< Scalar > & scalars, bool expr_is_soarr)Compute a hash of the expression function/kernel based on types and metadata.
Variables
Section titled “Variables”| Return | Name | Description |
|---|---|---|
constexpr VM_Cast_Table< T > |
vm_cast_table constexpr |
vm_cast_table
Section titled “vm_cast_table”constexpr
constexpr VM_Cast_Table< T > vm_cast_table {}