Equalizer  1.10.1
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eq::ComputeContext Class Referenceabstract

The interface definition for API-specific GPGPU handling. More...

#include <computeContext.h>

+ Inheritance diagram for eq::ComputeContext:
+ Collaboration diagram for eq::ComputeContext:

Public Member Functions

EQ_API ComputeContext (Pipe *parent)
 Create a new ComputeContext for the given accelerator.
 
virtual EQ_API ~ComputeContext ()
 Destroy the ComputeContext. More...
 
Data Access
PipegetPipe ()
 
const PipegetPipe () const
 
Methods forwarded from Pipe
virtual EQ_API bool configInit ()=0
 Initialize the ComputeContext. More...
 
virtual EQ_API void configExit ()=0
 De-initialize the ComputeContext. More...
 

Protected Member Functions

Error information.
EventOCommand sendError (const uint32_t error)
 Send an error event to the application node. More...
 

Detailed Description

The interface definition for API-specific GPGPU handling.

The ComputeContext abstracts all GPGPU API-system specific code for handling a GPU for computing purposes. Each Pipe uses one ComputeContext, which is initialized in Pipe::configInit.

Warning
Experimental - may not be supported in the future.

Definition at line 35 of file computeContext.h.

Constructor & Destructor Documentation

virtual EQ_API eq::ComputeContext::~ComputeContext ( )
virtual

Destroy the ComputeContext.

Member Function Documentation

virtual EQ_API void eq::ComputeContext::configExit ( )
pure virtual

De-initialize the ComputeContext.

Implemented in eq::CUDAContext.

virtual EQ_API bool eq::ComputeContext::configInit ( )
pure virtual

Initialize the ComputeContext.

Implemented in eq::CUDAContext.

Pipe* eq::ComputeContext::getPipe ( )
inline
Returns
the parent pipe.

Definition at line 49 of file computeContext.h.

const Pipe* eq::ComputeContext::getPipe ( ) const
inline
Returns
the parent pipe.

Definition at line 52 of file computeContext.h.

EventOCommand eq::ComputeContext::sendError ( const uint32_t  error)
protected

Send an error event to the application node.

Parameters
errorthe error message.
Version
1.7.1

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