#include <Kernel.hpp>
◆ Arg() [1/2]
Aqua::CalcServer::ArgSetter::Arg::Arg |
( |
| ) |
|
|
inline |
◆ Arg() [2/2]
Aqua::CalcServer::ArgSetter::Arg::Arg |
( |
const Arg & | arg | ) |
|
|
inline |
Copy Constructor.
- Parameters
-
◆ ~Arg()
Aqua::CalcServer::ArgSetter::Arg::~Arg |
( |
| ) |
|
|
inline |
◆ event()
cl_event Aqua::CalcServer::ArgSetter::Arg::event |
( |
| ) |
const |
|
inline |
Get the last recorded writing event.
- Returns
- The event
◆ operator!=()
Check whether the content of a variable is the same than this argument.
- Parameters
-
var | Variable to compare with |
- Returns
- false if the variable still matches the argument, true otherwise
◆ operator=() [1/2]
void Aqua::CalcServer::ArgSetter::Arg::operator= |
( |
const Arg & | arg | ) |
|
|
inline |
Copy other argument.
- Parameters
-
- Exceptions
-
std::bad_alloc | If the memory required cannot be allocated |
◆ operator=() [2/2]
Copy the variable content on the argument.
- Parameters
-
- Exceptions
-
std::bad_alloc | If the memory required cannot be allocated |
◆ operator==()
Check whether the content of a variable is the same than this argument.
- Parameters
-
var | Variable to compare with |
- Returns
- true if the variable still matches the argument, false otherwise
◆ set()
void Aqua::CalcServer::ArgSetter::Arg::set |
( |
const size_t | s, |
|
|
const void * | v, |
|
|
const cl_event | e ) |
|
inlineprotected |
Set the argument.
- Parameters
-
- Exceptions
-
std::bad_alloc | If the memory required cannot be allocated |
◆ size()
size_t Aqua::CalcServer::ArgSetter::Arg::size |
( |
| ) |
const |
|
inline |
Get the size of the argument.
- Returns
- The size
◆ value()
const void * Aqua::CalcServer::ArgSetter::Arg::value |
( |
| ) |
const |
|
inline |
Get the value of the argument.
- Returns
- The value memory
The documentation for this class was generated from the following files:
- /home/pepe/SPH/Code/aquagpusph/aquagpusph/CalcServer/Kernel.hpp
- /home/pepe/SPH/Code/aquagpusph/aquagpusph/CalcServer/Kernel.cpp