27#ifndef SORT_H_INCLUDED
28#define SORT_H_INCLUDED
58 Sort(
const std::string tool_name,
59 const std::string variable =
"icell",
60 const std::string permutations =
"id_unsorted",
61 const std::string inv_permutations =
"id_sorted",
77 cl_event
_execute(
const std::vector<cl_event> events);
94 std::vector<cl_kernel> compileOpenCL();
105 std::string _var_name;
108 std::string _perms_name;
111 std::string _inv_perms_name;
129 std::string _var_type;
132 std::string _var_max;
135 cl_kernel _init_kernel;
137 cl_kernel _start_kernel;
139 cl_kernel _local_kernel;
141 cl_kernel _global_kernel;
143 cl_kernel _inv_perms_kernel;
156 size_t _local_work_size;
159 size_t _global_work_size;
The calculation main entry point. (See Aqua::CalcServer::CalcServer for details)
OpenCL kernel kernel based tool. (see Aqua::CalcServer::Kernel for details)
Sort(const std::string tool_name, const std::string variable="icell", const std::string permutations="id_unsorted", const std::string inv_permutations="id_sorted", bool once=false)
Definition Sort.cpp:42
~Sort()
Definition Sort.cpp:73
cl_event _execute(const std::vector< cl_event > events)
Definition Sort.cpp:108
void setup()
Definition Sort.cpp:92
Calculation server name space.
Definition Assert.cpp:32
Main AQUAgpusph namespace.
Definition ArgumentsManager.cpp:50
Set of definitions and macros related with the implementation.