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 ()

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 (  )  [inline, static]

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