|
SkePU 0.7
|
A class representing a execution environment. More...
#include <environment.h>

Public Types | |
| enum | SkelObjectType |
Public Member Functions | |
| void | finishAll () |
Static Public Member Functions | |
| static Environment * | getInstance () |
Protected Member Functions | |
| Environment () | |
| virtual | ~Environment () |
A class representing a execution environment.
The Environment is used by the skeleton objects to define a execution environment for them to use. It mainly keeps track of which devices are available and gives access to them. It is implemented as a singleton so that only one environment is actually used and the skeletons stores a pointer to this instance which is created by the first defined skeleton.
| enum skepu::Environment::SkelObjectType |
Enumeration of the different type of skeletons that is used while using StarPU performance models for different skeletons.
| skepu::Environment< T >::Environment | ( | ) | [protected] |
The constructor does not do much except calling starpu_init in this case as devices are managed by StarPU.
| skepu::Environment< T >::~Environment | ( | ) | [protected, virtual] |
The destructor does not do anything except calling starpu_shutdown in this case as devices are managed by StarPU.
| void skepu::Environment< T >::finishAll | ( | ) |
Wrapper for CUDA and OpenCL variants. Does not do anything in this case as StarPU controls the devices.
| Environment< T > * skepu::Environment< T >::getInstance | ( | ) | [static] |
Gets pointer to first instance, at first call a new instance is created.
1.7.4