Implementation details for the generic memory backend interface. More...
Classes | |
struct | convert_to_opencl |
Helper struct for converting a type to its OpenCL pendant. More... | |
Functions | |
memory_types | get_set_default_memory_type (memory_types *new_mem_type) |
Singleton for managing the default memory type. More... | |
template<typename T > | |
vcl_size_t | element_size (memory_types) |
template<> | |
vcl_size_t | element_size< unsigned long > (memory_types) |
template<> | |
vcl_size_t | element_size< long > (memory_types) |
template<> | |
vcl_size_t | element_size< unsigned int > (memory_types) |
template<> | |
vcl_size_t | element_size< int > (memory_types) |
Implementation details for the generic memory backend interface.
vcl_size_t viennacl::backend::detail::element_size | ( | memory_types | ) |
Definition at line 299 of file memory.hpp.
|
inline |
Definition at line 349 of file memory.hpp.
|
inline |
Definition at line 320 of file memory.hpp.
|
inline |
Definition at line 335 of file memory.hpp.
|
inline |
Definition at line 306 of file memory.hpp.
|
inline |
Singleton for managing the default memory type.
new_mem_type | If NULL, returns the current memory type. Otherwise, sets the memory type to the provided value. |
Definition at line 51 of file mem_handle.hpp.