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_traits Struct Reference

Traits of the densemat. More...

#include <densemat.h>

Public Attributes

ghost_lidx ncols
 The number of columns. More...
 
ghost_lidx ncolspadded
 The padded number of columns (may differ from ncols for row-major densemats). More...
 
ghost_densemat_flags flags
 Property flags. More...
 
ghost_densemat_storage storage
 The storage order. More...
 
ghost_datatype datatype
 The data type. More...
 
ghost_location location
 Location of the densemat. More...
 
ghost_location compute_at
 If the densemat is the result of a computation, decide where to execute the computation. More...
 
ghost_implementation compute_with
 If the densemat is the result of a computation, decide with which implementation to compute it. More...
 
ghost_lidx ncolssub
 The number of columns of each sub-densemat. More...
 

Detailed Description

Traits of the densemat.

Member Data Documentation

ghost_location ghost_densemat_traits::compute_at

If the densemat is the result of a computation, decide where to execute the computation.

This is only relevant if all involved data is stored on both HOST and DEVICE.

ghost_implementation ghost_densemat_traits::compute_with

If the densemat is the result of a computation, decide with which implementation to compute it.

With this trait, one can force, e.g., a plain C code kernel although an AVX kernel is available. This is only relevant for CPU data.

ghost_datatype ghost_densemat_traits::datatype

The data type.

ghost_densemat_flags ghost_densemat_traits::flags

Property flags.

ghost_location ghost_densemat_traits::location

Location of the densemat.

ghost_lidx ghost_densemat_traits::ncols

The number of columns.

ghost_lidx ghost_densemat_traits::ncolspadded

The padded number of columns (may differ from ncols for row-major densemats).

ghost_lidx ghost_densemat_traits::ncolssub

The number of columns of each sub-densemat.

ghost_densemat_storage ghost_densemat_traits::storage

The storage order.


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