GCVL
Multi-platform (Windows, Unix and Mac OS) C++/OpenCL/CUDA library with several Computer Vision algorithms.
CUDA_devices_list Class Reference

#include <cudautils.h>

List of all members.

Public Member Functions

 CUDA_devices_list ()
 Default constructor.
void Initialize ()
 Inititalizes the CUDA device list, obtaining all the compute devices present in the system and tries to guess which one is the best.
void Set_Preferred_CUDA (const int _preferred_device=-1)
 Sets the preferred CUDA device.
int Preferred_CUDA ()
 Obtains the preferred CUDA device id.
void Print ()
 Prints information related to the CUDA devices present in the system.

Constructor & Destructor Documentation

Default constructor.


Member Function Documentation

Inititalizes the CUDA device list, obtaining all the compute devices present in the system and tries to guess which one is the best.

Obtains the preferred CUDA device id.

Returns:
device id.

Prints information related to the CUDA devices present in the system.

void CUDA_devices_list::Set_Preferred_CUDA ( const int  _preferred_device = -1) [inline]

Sets the preferred CUDA device.

Parameters:
_preferred_devicedevice id that is going to be used, -1 if we want GCVL to guess which is the best device available.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Defines