Workspace 6.21.5
Public Member Functions | Static Public Member Functions | List of all members
HPCDeviceManager Class Reference

Singleton class for managing access to OpenCL devices.

#include <HPC/hpcdevicemanager.h>

Public Member Functions

DeviceInfoList getDevices () const
 

Static Public Member Functions

static HPCDeviceManagergetInstance ()
 

Member Function Documentation

◆ getDevices()

DeviceInfoList getDevices ( ) const
Returns
A list of all devices available on all platforms. The index in the returned list serves as its global device ID

◆ getInstance()

HPCDeviceManager & getInstance ( )
static