spla
Namespaces | Functions
cl_format_coo_vec.hpp File Reference
#include <opencl/cl_debug.hpp>
#include <opencl/cl_fill.hpp>
#include <opencl/cl_formats.hpp>
#include <opencl/cl_program_builder.hpp>
#include <opencl/generated/auto_vector_formats.hpp>
Include dependency graph for cl_format_coo_vec.hpp:

Go to the source code of this file.

Namespaces

 spla
 

Functions

template<typename T >
void spla::cl_coo_vec_init (const std::size_t n_values, const uint *Ai, const T *Ax, CLCooVec< T > &storage)
 
template<typename T >
void spla::cl_coo_vec_resize (const std::size_t n_values, CLCooVec< T > &storage)
 
template<typename T >
void spla::cl_coo_vec_clear (CLCooVec< T > &storage)
 
template<typename T >
void spla::cl_coo_vec_read (const std::size_t n_values, uint *Ai, T *Ax, const CLCooVec< 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)
 
template<typename T >
void spla::cl_coo_vec_to_dense (const std::size_t n_rows, const T fill_value, const CLCooVec< T > &in, CLDenseVec< T > &out, cl::CommandQueue &queue)