YASK
Yet Another Stencil Kit: a software framework for creating HPC stencil code. Copyright 2014-2023 Intel Corporation.
|
Arguments that may be YASK or non-YASK numeric types. More...
#include <yc_node_api.hpp>
Public Member Functions | |
yc_number_any_arg (yc_number_node_ptr p) | |
Arg can be a number-node pointer. | |
yc_number_any_arg (yc_index_node_ptr p) | |
Arg can be an index-node pointer. | |
yc_number_any_arg (yc_var_point_node_ptr p) | |
Arg can be a var-point-node pointer. | |
yc_number_any_arg (idx_t i) | |
Arg can be an index type. | |
yc_number_any_arg (int i) | |
Arg can be an int. | |
yc_number_any_arg (double f) | |
Arg can be a double. | |
yc_number_any_arg (float f) | |
Arg can be a float. | |
yc_number_any_arg (std::nullptr_t p) | |
Arg can be a null pointer. | |
Protected Member Functions | |
yc_number_node_ptr | _convert_const (double val) const |
Create an argument from a constant value. | |
Arguments that may be YASK or non-YASK numeric types.
A simple wrapper class to provide automatic construction of a 'yc_number_node_ptr' from a YASK pointer or non-YASK fundamental numeric types.
Used only to provide conversions in function arguments.
Not a virtual class.