#include <math.h>
#include <initializer_list>
{
cout <<
"Test of \"KernelMerger\" functionality..." <<
flush;
{
using namespace elementOperators;
}
bool status((acl::map<float>(vec0).
get()[9] == 2) &&
(acl::map<float>(vec1).
get()[3] == 1) &&
(acl::map<float>(vec2).
get()[7] == 4));
return status;
}
{
bool allTestsPassed(true);
return allTestsPassed ? EXIT_SUCCESS : EXIT_FAILURE;
}
std::string getKernelSource()
void addKernel(SPKernel k)
ABDFileIn & get(ABDFileIn &f, AbstractData &a, std::shared_ptr< double > d)
reads data. It is assumed that the class has the propper size
Element operatorAssignment(Element e1, Element e2)
void errorMessage(cl_int status, const char *errorMessage)
Prints errorMessage and exits depending on the status.
Advanced Computational Language.
std::shared_ptr< MemBlock > ElementData
std::shared_ptr< Kernel > SPKernel
std::shared_ptr< ElementBase > Element