spla
Namespaces | Functions
cl_format_csr.hpp File Reference
#include <opencl/cl_formats.hpp>
Include dependency graph for cl_format_csr.hpp:

Go to the source code of this file.

Namespaces

 spla
 

Functions

template<typename T >
void spla::cl_csr_init (std::size_t n_rows, std::size_t n_values, const uint *Ap, const uint *Aj, const T *Ax, CLCsr< T > &storage)
 
template<typename T >
void spla::cl_csr_resize (std::size_t n_rows, std::size_t n_values, CLCsr< T > &storage)
 
template<typename T >
void spla::cl_csr_read (std::size_t n_rows, std::size_t n_values, uint *Ap, uint *Aj, T *Ax, CLCsr< T > &storage, cl::CommandQueue &queue, cl_mem_flags staging_flags=CL_MEM_READ_ONLY|CL_MEM_HOST_READ_ONLY|CL_MEM_ALLOC_HOST_PTR, bool blocking=true)