ViennaCL - The Vienna Computing Library  1.7.1
Free open-source GPU-accelerated linear algebra and solver library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
common.hpp File Reference

Common implementations shared by OpenCL-based operations. More...

#include <cmath>
#include "viennacl/forwards.h"
#include "viennacl/ocl/platform.hpp"
#include "viennacl/traits/handle.hpp"

Go to the source code of this file.

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 
 viennacl::linalg
 Provides all linear algebra operations which are not covered by operator overloads.
 
 viennacl::linalg::opencl
 Holds all routines providing OpenCL linear algebra operations.
 
 viennacl::linalg::opencl::detail
 Helper functions for OpenCL-accelerated linear algebra operations.
 

Functions

cl_uint viennacl::linalg::opencl::detail::make_options (vcl_size_t length, bool reciprocal, bool flip_sign)
 
std::string viennacl::linalg::opencl::detail::sparse_dense_matmult_kernel_name (bool B_transposed, bool B_row_major, bool C_row_major)
 Returns the OpenCL kernel string for the operation C = A * B with A sparse, B, C dense matrices. More...
 
template<typename SomeT >
ocl::device const & viennacl::linalg::opencl::detail::current_device (SomeT const &obj)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_abs)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_acos)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_asin)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_atan)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_ceil)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_cos)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_cosh)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_exp)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_fabs)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_floor)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_log)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_log10)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_sin)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_sinh)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_sqrt)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_tan)
 
std::string viennacl::linalg::opencl::detail::op_to_string (op_tanh)
 

Detailed Description

Common implementations shared by OpenCL-based operations.

Definition in file common.hpp.