clSPARSE  v0.10.0.0
a software library containing Sparse functions written in OpenCL
Public Attributes | List of all members
cldenseVector Struct Reference

Structure to encapsulate dense vector data to clSPARSE API. More...

#include <clSPARSE-1x.h>

Public Attributes

clsparseIdx_t num_values
 
cl_mem values
 
clsparseIdx_t off_values
 
void * values
 

Detailed Description

Structure to encapsulate dense vector data to clSPARSE API.

Examples:
sample-axpy.cpp, sample-cg.cpp, sample-norm1-c.c, and sample-spmv.cpp.

Member Data Documentation

clsparseIdx_t cldenseVector::num_values

Length of dense vector

Examples:
sample-axpy.cpp, sample-cg.cpp, sample-norm1-c.c, and sample-spmv.cpp.
clsparseIdx_t cldenseVector::off_values

Given that cl_mem objects are opaque without pointer arithmetic, this offset is added to the cl_mem locations on device to define beginning of the data in the cl_mem buffers

void* cldenseVector::values

OpenCL 2.0 memory pointer

cl_mem cldenseVector::values

OpenCL 1.x memory handle

Examples:
sample-axpy.cpp, sample-cg.cpp, sample-norm1-c.c, and sample-spmv.cpp.

The documentation for this struct was generated from the following files: