Blink API
Public Member Functions | Static Public Member Functions | List of all members
Blink::ComputeDevice Class Reference

Reference to a device used for Blink computation. More...

#include <Blink.h>

Inheritance diagram for Blink::ComputeDevice:
Blink::RefHolder

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

Detailed Description

Reference to a device used for Blink computation.


The documentation for this class was generated from the following file:


©2019 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk