An example of the test class.
#include <iostream>
#include <stdarg.h>
#include <vector>
#include <stdlib.h>
using namespace std;
{
oStencil = iStencil(0, 0) * 2.0;
return oStencil;
}
int main(
int argc,
char *argv[])
{
std::vector<int> chunk_size = {4, 16};
std::vector<int> overlap_size = {1, 1};
Array<float> *A = new Array<float>("EP_HDF5:./test-data/testf-16x16-hello-world.h5:/testg/testd", chunk_size, overlap_size);
Array<float> *B = new Array<float>("EP_HDF5:./test-data/testf-16x16-hello-world-output.h5:/testg/testd");
A->ReportCost();
delete A;
delete B;
return 0;
}
Definition: ft_stencil.h:100
#define AU_Init(argc, argv)
Definition: ft.h:112
#define AU_Finalize()
Definition: ft.h:113
#define OP_CREATE_VIS_SCRIPT
Definition: ft_endpoint.h:96
int main(int argc, char *argv[])
Definition: ft_example_simple.cpp:107
Stencil< float > udf_hello_world(const Stencil< float > &iStencil)
duplicate the original data
Definition: ft_example_simple.cpp:95
Definition: ft_array.h:113