#include <assert.h>
#include <stdarg.h>
#include <regex>
#include "mpi.h"
#include "ft_endpoint.h"
#include "ft_stencil.h"
#include "ft_utility.h"
#include "ft_type.h"
#include "ft_endpoint_factory.h"
#include "ft_mpi.h"
#include "ft_merge.h"
#include "ft_output_vector.h"
#include "ft_vis.h"
#include "ft_array_transpose.h"
Go to the source code of this file.
|
#define | TRANSFORM(A_BASE_OBJECT, UDF, B, A_TYPE, UDF_OUT_TYPE) |
| transform the ArrayBase object to one with the type A_TYPE can call the transform function More...
|
|
◆ TRANSFORM
#define TRANSFORM |
( |
|
A_BASE_OBJECT, |
|
|
|
UDF, |
|
|
|
B, |
|
|
|
A_TYPE, |
|
|
|
UDF_OUT_TYPE |
|
) |
| |
Value: { \
switch (A_TYPE) \
{ \
static_cast<FT::Array<short> *>(A_BASE_OBJECT)->Transform<UDF_OUT_TYPE>(UDF, B); \
break; \
static_cast<FT::Array<double> *>(A_BASE_OBJECT)->Transform<UDF_OUT_TYPE>(UDF, B); \
break; \
static_cast<FT::Array<float> *>(A_BASE_OBJECT)->Transform<UDF_OUT_TYPE>(UDF, B); \
break; \
static_cast<FT::Array<int> *>(A_BASE_OBJECT)->Transform<UDF_OUT_TYPE>(UDF, B); \
break; \
default: \
AU_EXIT("Not supported type yet in TRANSFORM macro !"); \
} \
}
@ AU_DOUBLE
Definition: ft_type.h:129
@ AU_FLOAT
Definition: ft_type.h:128
@ AU_INT
Definition: ft_type.h:121
@ AU_SHORT
Definition: ft_type.h:120
transform the ArrayBase object to one with the type A_TYPE can call the transform function
- Examples
- ft_example_base.cpp.
◆ endpoint_to_clean_vector
std::vector<Endpoint *> endpoint_to_clean_vector |
|
extern |
◆ ft_rank
◆ ft_size