GPU-SD  1.1.2
Static Public Member Functions | Protected Member Functions
gpusd::glx::Module Class Reference

The GLX implementation for local GPU discovery. More...

#include <module.h>

+ Inheritance diagram for gpusd::glx::Module:
+ Collaboration diagram for gpusd::glx::Module:

List of all members.

Static Public Member Functions

static GPUSD_API void use ()
 Instantiate an AGL discovery module for the process.

Protected Member Functions

virtual GPUInfos discoverGPUs_ () const

Detailed Description

The GLX implementation for local GPU discovery.

The GLX module tries to open X server :0 to :9. For each server which can be opened, all available screens on the server are added as a separate GPUInfo.

Definition at line 34 of file glx/module.h.


Member Function Documentation

GPUInfos gpusd::glx::Module::discoverGPUs_ ( ) const [protected, virtual]
Returns:
information about all found GPUs.
Version:
1.0

Implements gpusd::Module.

Definition at line 104 of file glx/module.cpp.

References gpusd::GPUInfo::defaultValue, gpusd::GPUInfo::device, and gpusd::GPUInfo::port.

void gpusd::glx::Module::use ( ) [static]

Instantiate an AGL discovery module for the process.

Definition at line 98 of file glx/module.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jun 14 2012 07:53:07 for GPU-SD 1.1.2 by  doxygen 1.8.0