|
Blink API
|
Reference to a device used for Blink computation. More...
#include <Blink.h>
Public Member Functions | |
| 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 Public Member Functions | |
| 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. | |
Additional Inherited Members | |
Protected Member Functions inherited from Blink::RefHolder | |
| 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 |
Protected Attributes inherited from Blink::RefHolder | |
| Ref | _ref |
Reference to a device used for Blink computation.
| ©2019 The Foundry Visionmongers, Ltd. All Rights Reserved. |