Apache Singa
A General Distributed Deep Learning Library
Static Public Member Functions | List of all members
singa::Platform Class Reference

This class queries all available calculating devices on a given machine grouped according to manufacturer or device drivers. More...

#include <device.h>

Static Public Member Functions

static std::shared_ptr< DeviceGetDefaultDevice ()
 Return the default host device.
 

Detailed Description

This class queries all available calculating devices on a given machine grouped according to manufacturer or device drivers.

All methods should be static. If CUDA or OPENCL are not enabled, then the respective related methods should return something that indicates their absence (for example, 0 devices); however they should always be available regardless of compile-time switches.


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