Equalizer  1.8.0
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
cudaContext.h
1 
2 /* Copyright (c) 2009, Philippe Robert <philippe.robert@gmail.com>
3  * 2010-2014, Stefan Eilemann <eile@eyescale.ch>
4  *
5  * This library is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License version 2.1 as published
7  * by the Free Software Foundation.
8  *
9  * This library is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef EQ_CUDACONTEXT_H
20 #define EQ_CUDACONTEXT_H
21 
22 #include <eq/client/computeContext.h> // base class
23 
24 namespace eq
25 {
31 {
32 public:
34  EQ_API CUDAContext( Pipe* parent );
35 
37  EQ_API virtual ~CUDAContext( );
38 
42  EQ_API virtual bool configInit();
43 
45  EQ_API virtual void configExit();
47 
49  EQ_API WGLEWContext* wglewGetContext();
50 };
51 }
52 
53 #endif // EQ_CUDA_COMPUTE_CONTEXT_H
A Pipe represents a graphics card (GPU) on a Node.
EQ_API CUDAContext(Pipe *parent)
Create a new CUDA compute context.
CUDA implementation of a ComputeContext.
Definition: cudaContext.h:30
virtual EQ_API void configExit()
De-initialize the ComputeCtx.
EQ_API WGLEWContext * wglewGetContext()
virtual EQ_API bool configInit()
Initialize the ComputeCtx.
virtual EQ_API ~CUDAContext()
Destroy the context.
The interface definition for API-specific GPGPU handling.