ViennaCL - The Vienna Computing Library  1.2.0
Public Member Functions
platform Class Reference

#include <platform.hpp>

Public Member Functions

 platform ()
cl_platform_id id () const
std::string info () const
 Returns an information string.
std::vector< devicedevices (cl_device_type dtype=CL_DEVICE_TYPE_DEFAULT)
 Returns the available devices of the supplied device type.

Constructor & Destructor Documentation

platform ( )
inline

Member Function Documentation

std::vector<device> devices ( cl_device_type  dtype = CL_DEVICE_TYPE_DEFAULT)
inline

Returns the available devices of the supplied device type.

cl_platform_id id ( ) const
inline
std::string info ( ) const
inline

Returns an information string.


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