Muesli
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | List of all members
msl::ArgumentType Class Referenceabstract

Base class for argument types of functors. More...

#include <argtype.h>

Inheritance diagram for msl::ArgumentType:
msl::LArray< T > msl::LMatrix< T > msl::PLArray< T > msl::PLMatrix< T >

Public Member Functions

virtual void update ()=0
 Updates all pointer members to point to the correct memory.
 
virtual ~ArgumentType ()
 Virtual destructor.
 

Detailed Description

Base class for argument types of functors.

Arguments to functors are added in terms of data members. The types (except for POD types) of these data members must inherit from this class. This is necessary in a hybrid (and/or in a multi-GPU) setting. Pointer members need to point to the correct memory: when dereferenced by the CPU the pointer must point to some location in host main memory, when dereferenced by GPU 1 it must point to some location in GPU 1 main memory and so on.


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