AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Public Member Functions
Aqua::CalcServer::End Class Reference

Close the scope open by a previous conditional tool, like While or If. More...

#include <CalcServer/Conditional.h>

Inheritance diagram for Aqua::CalcServer::End:
Inheritance graph
[legend]
Collaboration diagram for Aqua::CalcServer::End:
Collaboration graph
[legend]

Public Member Functions

 End (const std::string name, bool once=false)
 Constructor.
 
 ~End ()
 Destructor.
 
void setup ()
 Initialize the tool.
 
const int scope_modifier ()
 
- Public Member Functions inherited from Aqua::CalcServer::Tool
 Tool (const std::string tool_name, bool once=false)
 
virtual ~Tool ()
 
void name (const std::string tool_name)
 
const std::string name ()
 
virtual void setup ()
 
virtual void execute ()
 Execute the tool measuring the elapsed time.
 
virtual Toolnext_tool ()
 
size_t allocatedMemory () const
 
unsigned int used_times () const
 
float elapsedTime (bool averaged=true) const
 
float elapsedTimeVariance () const
 
float elapsedTimeDeviation () const
 
virtual const int scope_modifier ()
 

Additional Inherited Members

- Protected Member Functions inherited from Aqua::CalcServer::Tool
int id_in_pipeline ()
 
void next_tool (Tool *tool)
 
void allocatedMemory (size_t mem_size)
 
virtual cl_event _execute (const std::vector< cl_event > events)
 
void addElapsedTime (float elapsed_time)
 Add new data to the average and squared elapsed times.
 
void setDependencies (std::vector< std::string > var_names)
 Set the depedencies of the tool.
 
void setDependencies (std::vector< InputOutput::Variable * > vars)
 Set the depedencies of the tool.
 
const std::vector< InputOutput::Variable * > getDependencies ()
 Get the depedencies of the tool.
 
- Static Protected Member Functions inherited from Aqua::CalcServer::Tool
static std::vector< cl_kernel > compile (const std::string source, const std::vector< std::string > names, const std::string flags="")
 Compile an OpenCL source code and generate the corresponding kernel.
 
static cl_kernel compile_kernel (const std::string source, const std::string kernel_name, const std::string flags="")
 Compile an OpenCL source code and generate the corresponding kernel.
 

Detailed Description

Close the scope open by a previous conditional tool, like While or If.

This tool is always giving back the control to the conditional tool, which is responsible to redirect the pipeline

Constructor & Destructor Documentation

◆ End()

Aqua::CalcServer::End::End ( const std::string  name,
bool  once = false 
)

Constructor.

Parameters
nameTool name.
onceRun this tool just once. Useful to make initializations.

◆ ~End()

Aqua::CalcServer::End::~End ( )

Destructor.

Member Function Documentation

◆ scope_modifier()

const int Aqua::CalcServer::End::scope_modifier ( )
inlinevirtual

Close an already open scope

Returns
-1

Reimplemented from Aqua::CalcServer::Tool.

◆ setup()

void Aqua::CalcServer::End::setup ( )
virtual

Initialize the tool.

Reimplemented from Aqua::CalcServer::Tool.

Here is the call graph for this function:

The documentation for this class was generated from the following files: