ViennaCL - The Vienna Computing Library: viennacl/device_specific/utils.hpp File Reference

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
Classes | Namespaces | Functions
utils.hpp File Reference

Internal utils. More...

`#include <sstream>`
`#include "viennacl/detail/matrix_def.hpp"`
`#include "viennacl/detail/vector_def.hpp"`
`#include "viennacl/device_specific/forwards.h"`
`#include "viennacl/ocl/forwards.h"`
`#include "viennacl/scheduler/forwards.h"`
`#include "viennacl/traits/size.hpp"`
`#include "viennacl/traits/handle.hpp"`
`#include "viennacl/traits/row_major.hpp"`
`#include "viennacl/tools/tools.hpp"`

Go to the source code of this file.

## Classes
struct | viennacl::device_specific::utils::scalartype_size_fun
struct | viennacl::device_specific::utils::internal_size_fun
struct | viennacl::device_specific::utils::size_fun
struct | viennacl::device_specific::utils::stride_fun
struct | viennacl::device_specific::utils::start1_fun
struct | viennacl::device_specific::utils::start2_fun
struct | viennacl::device_specific::utils::leading_stride
struct | viennacl::device_specific::utils::leading_start
struct | viennacl::device_specific::utils::stride1_fun
struct | viennacl::device_specific::utils::stride2_fun
struct | viennacl::device_specific::utils::handle_fun
struct | viennacl::device_specific::utils::internal_size1_fun
struct | viennacl::device_specific::utils::row_major_fun
struct | viennacl::device_specific::utils::internal_size2_fun
struct | viennacl::device_specific::utils::size1_fun
struct | viennacl::device_specific::utils::size2_fun
struct | viennacl::device_specific::utils::is_same_type< T, U >
struct | viennacl::device_specific::utils::is_same_type< T, T >
struct | viennacl::device_specific::utils::type_to_string< T >
struct | viennacl::device_specific::utils::type_to_string< unsigned char >
struct | viennacl::device_specific::utils::type_to_string< char >
struct | viennacl::device_specific::utils::type_to_string< unsigned short >
struct | viennacl::device_specific::utils::type_to_string< short >
struct | viennacl::device_specific::utils::type_to_string< unsigned int >
struct | viennacl::device_specific::utils::type_to_string< int >
struct | viennacl::device_specific::utils::type_to_string< unsigned long >
struct | viennacl::device_specific::utils::type_to_string< long >
struct | viennacl::device_specific::utils::type_to_string< float >
struct | viennacl::device_specific::utils::type_to_string< double >
struct | viennacl::device_specific::utils::first_letter_of_type< T >
struct | viennacl::device_specific::utils::first_letter_of_type< char >
struct | viennacl::device_specific::utils::first_letter_of_type< unsigned char >
struct | viennacl::device_specific::utils::first_letter_of_type< short >
struct | viennacl::device_specific::utils::first_letter_of_type< unsigned short >
struct | viennacl::device_specific::utils::first_letter_of_type< int >
struct | viennacl::device_specific::utils::first_letter_of_type< unsigned int >
struct | viennacl::device_specific::utils::first_letter_of_type< long >
struct | viennacl::device_specific::utils::first_letter_of_type< unsigned long >
struct | viennacl::device_specific::utils::first_letter_of_type< float >
struct | viennacl::device_specific::utils::first_letter_of_type< double >
class | viennacl::device_specific::utils::kernel_generation_stream

## Namespaces
| viennacl
| Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
| viennacl::device_specific
| Provides an OpenCL kernel generator.
| viennacl::device_specific::utils
| Contains various helper routines for kernel generation.

## Functions
std::string | viennacl::device_specific::utils::opencl_source_to_cuda_source (std::string const &opencl_src)
bool | viennacl::device_specific::utils::is_reduction (scheduler::statement_node const &node)
bool | viennacl::device_specific::utils::is_index_reduction (scheduler::op_element const &op)
bool | viennacl::device_specific::utils::node_leaf (scheduler::op_element const &op)
bool | viennacl::device_specific::utils::elementwise_operator (scheduler::op_element const &op)
bool | viennacl::device_specific::utils::elementwise_function (scheduler::op_element const &op)
scheduler::lhs_rhs_element & | viennacl::device_specific::utils::lhs_rhs_element (scheduler::statement const &st, vcl_size_t idx, leaf_t leaf)
unsigned int | viennacl::device_specific::utils::size_of (scheduler::statement_node_numeric_type type)
std::string | viennacl::device_specific::utils::append_width (std::string const &str, unsigned int width)

## Detailed Description

Internal utils.

Definition in file utils.hpp.