Helper struct for accessing an element of a row- or column-major matrix.
More...
#include <sparse_matrix_operations.hpp>
|
static __device__ unsigned int | apply (unsigned int i, unsigned int j, unsigned int row_start, unsigned int row_inc, unsigned int col_start, unsigned int col_inc, unsigned int internal_rows, unsigned int internal_cols) |
|
template<typename LayoutT>
struct viennacl::linalg::cuda::mat_mult_matrix_index< LayoutT >
Helper struct for accessing an element of a row- or column-major matrix.
- Parameters
-
static __device__ unsigned int apply |
( |
unsigned int |
i, |
|
|
unsigned int |
j, |
|
|
unsigned int |
row_start, |
|
|
unsigned int |
row_inc, |
|
|
unsigned int |
col_start, |
|
|
unsigned int |
col_inc, |
|
|
unsigned int |
internal_rows, |
|
|
unsigned int |
internal_cols |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following file: