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 &) |
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.
|
inlinestatic |