ViennaCL - The Vienna Computing Library  1.5.2
Functions
viennacl::device_specific::database Namespace Reference

Functions

template<class ParamT >
ParamT const & handle_failure (database_type< ParamT > const &database, viennacl::ocl::device const &device, scheduler::statement_node_numeric_type numeric_type, ParamT const &params)
 If the fallback is too harsh, use a very conservative profile.
template<class T , class ParamT >
ParamT const & get (database_type< ParamT > const &database)
 Get the profile for a device and a descriptor.

Function Documentation

ParamT const& viennacl::device_specific::database::get ( database_type< ParamT > const &  database) [inline]

Get the profile for a device and a descriptor.

ParamT const& viennacl::device_specific::database::handle_failure ( database_type< ParamT > const &  database,
viennacl::ocl::device const &  device,
scheduler::statement_node_numeric_type  numeric_type,
ParamT const &  params 
) [inline]

If the fallback is too harsh, use a very conservative profile.