ViennaCL - The Vienna Computing Library
1.5.1
|
Helper struct for accessing an element of a row- or column-major matrix. More...
#include <sparse_matrix_operations.hpp>
Static Public Member Functions | |
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) |
Helper struct for accessing an element of a row- or column-major matrix.
LayoutT | The layout tag: Either row_major or column_major |
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 | ||
) | [inline, static] |