FasTensor  1.0.0
Transform Supercomputing for AI
Macros | Functions
ft_example_vector.cpp File Reference
#include <iostream>
#include <stdarg.h>
#include <vector>
#include <stdlib.h>
#include "ft.h"

Macros

#define VEC_SIZE   8
 

Functions

Stencil< std::vector< float > > udf_vector (const Stencil< float > &iStencil)
 UDF to support output of vector. More...
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ VEC_SIZE

#define VEC_SIZE   8

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ udf_vector()

Stencil<std::vector<float> > udf_vector ( const Stencil< float > &  iStencil)
inline

UDF to support output of vector.

Parameters
iStencil: input stencil
Returns
Stencil<std::vector<float>> : output stencil
Examples
ft_example_vector.cpp.