GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Attributes | List of all members
ghost_densemat Struct Reference

A dense vector/matrix. More...

#include <densemat.h>

Collaboration diagram for ghost_densemat:
Collaboration graph
[legend]

Public Attributes

ghost_densemat_traits traits
 The densemat's traits. More...
 
char * val
 The values of the densemat. More...
 
ghost_densematsrc
 The source densemat (must not be a view). More...
 
size_t elSize
 Size (in bytes) of one matrix element. More...
 
ghost_lidx nblock
 The trailing dimensions of the densemat. More...
 
ghost_lidx blocklen
 The leading dimensions of the densemat. More...
 
ghost_lidx stride
 The leading dimensions of the densemat in memory. More...
 
ghost_bitmap colmask
 Masked out columns for scattered views. More...
 
ghost_bitmap rowmask
 Masked out rows for scattered views. More...
 
ghost_mpi_datatype mpidt
 An MPI data type which holds one element. More...
 
ghost_mpi_datatype fullmpidt
 An MPI data type which holds the entire densemat. More...
 
char * cu_val
 The values of the densemat on the CUDA device. More...
 
ghost_mapmap
 The densemat's map. More...
 
ghost_densemat ** subdm
 List of sub-densemats, points to densemat itself if no sub-densemats. More...
 
ghost_lidx nsub
 Number of sub-densemats. More...
 
ghost_lidx coloff
 Column offset into the parent densemat (if it is a subdensemat). More...
 

Detailed Description

A dense vector/matrix.

The according functions are accessed via function pointers. The first argument of each member function always has to be a pointer to the densemat itself.

Member Data Documentation

ghost_lidx ghost_densemat::blocklen

The leading dimensions of the densemat.

Contains ncols if the densemat has row-major storage and nrows if it has col-major storage.

ghost_bitmap ghost_densemat::colmask

Masked out columns for scattered views.

ghost_lidx ghost_densemat::coloff

Column offset into the parent densemat (if it is a subdensemat).

char* ghost_densemat::cu_val

The values of the densemat on the CUDA device.

size_t ghost_densemat::elSize

Size (in bytes) of one matrix element.

ghost_mpi_datatype ghost_densemat::fullmpidt

An MPI data type which holds the entire densemat.

ghost_map* ghost_densemat::map

The densemat's map.

ghost_mpi_datatype ghost_densemat::mpidt

An MPI data type which holds one element.

ghost_lidx ghost_densemat::nblock

The trailing dimensions of the densemat.

Contains nrows if the densemat has row-major storage and ncols if it has col-major storage.

ghost_lidx ghost_densemat::nsub

Number of sub-densemats.

ghost_bitmap ghost_densemat::rowmask

Masked out rows for scattered views.

ghost_densemat* ghost_densemat::src

The source densemat (must not be a view).

ghost_lidx ghost_densemat::stride

The leading dimensions of the densemat in memory.

Equal to ncolspadded if the densemat has row-major storage and nrowshalopadded if it has col-major storage.

ghost_densemat** ghost_densemat::subdm

List of sub-densemats, points to densemat itself if no sub-densemats.

ghost_densemat_traits ghost_densemat::traits

The densemat's traits.

char* ghost_densemat::val

The values of the densemat.


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