AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
Reduction.cpp File Reference

Reductions, like scans, prefix sums, maximum or minimum, etc... (See Aqua::CalcServer::Reduction for details) More...

#include <sstream>
#include "aquagpusph/AuxiliarMethods.hpp"
#include "aquagpusph/InputOutput/Logger.hpp"
#include "Reduction.hpp"
#include "Kernel.hpp"
#include "CalcServer.hpp"
Include dependency graph for Reduction.cpp:

Namespaces

namespace  Aqua
 Main AQUAgpusph namespace.
namespace  Aqua::CalcServer
 Calculation server name space.

Functions

void CL_CALLBACK Aqua::CalcServer::populator (cl_event event, cl_int event_command_status, void *user_data)
 Callback called when Aqua::CalcServer::Reduction already set the new value on the output value.

Variables

std::string Aqua::CalcServer::REDUCTION_INC = xxd2string(Reduction_hcl_in, Reduction_hcl_in_len)
std::string Aqua::CalcServer::REDUCTION_SRC = xxd2string(Reduction_cl_in, Reduction_cl_in_len)

Detailed Description

Reductions, like scans, prefix sums, maximum or minimum, etc... (See Aqua::CalcServer::Reduction for details)

Note
Hardcoded versions of the files CalcServer/Reduction.cl.in and CalcServer/Reduction.hcl.in are internally included as a text array.