Reference to a device used for Blink computation.
More...
#include <Blink.h>
|
| ComputeDevice (const ComputeDevice &dev) |
|
bool | available () const |
| Returns true if this device can be used.
|
|
std::string | name () const |
| Return the name of the device.
|
|
|
static ComputeDevice | CurrentCPUDevice () |
| Fetch the currently selected CPU.
|
|
static ComputeDevice | CurrentGPUDevice () |
| Fetch the currently selected GPU.
|
|
static ComputeDevice | DeviceWithID (ComputeDeviceID id) |
| This function may change before release. Do not use.
|
|
|
| RefHolder (Ref ref, bool retain) |
|
| RefHolder (const RefHolder &holder) |
|
RefHolder & | operator= (const RefHolder &holder) |
|
void | take (Ref ref) |
|
RefHolder & | operator= (Ref ref) |
|
Ref | ref () const |
|
Ref | _ref |
|
Reference to a device used for Blink computation.
The documentation for this class was generated from the following file: