ViennaCL - The Vienna Computing Library  1.5.2
Static Public Member Functions
DOUBLE_PRECISION_CHECKER< ScalarType > Struct Template Reference

Ensures that double precision types are only allocated if it is supported by the device. If double precision is requested for a device not capable of providing that, a double_precision_not_provided_error is thrown. More...

#include <utils.hpp>

Static Public Member Functions

static void apply (viennacl::ocl::context const &)
 

Detailed Description

template<typename ScalarType>
struct viennacl::ocl::DOUBLE_PRECISION_CHECKER< ScalarType >

Ensures that double precision types are only allocated if it is supported by the device. If double precision is requested for a device not capable of providing that, a double_precision_not_provided_error is thrown.

Member Function Documentation

static void apply ( viennacl::ocl::context const &  )
inlinestatic

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