Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Public Member Functions
TSQR::details::FillWDP< LocalOrdinal, Scalar > Class Template Reference

Kokkos work-data pair (WDP) for KokkosNodeTsqr::fill_with_zeros(). More...

#include <Tsqr_KokkosNodeTsqr.hpp>

List of all members.

Public Member Functions

 FillWDP (const MatView< LocalOrdinal, Scalar > A, const CacheBlockingStrategy< LocalOrdinal, Scalar > &strategy, const Scalar value, const int numPartitions, const bool contiguousCacheBlocks)
 Constructor.
void execute (const int partitionIndex)
 Method called by Kokkos' parallel_for.

Detailed Description

template<class LocalOrdinal, class Scalar>
class TSQR::details::FillWDP< LocalOrdinal, Scalar >

Kokkos work-data pair (WDP) for KokkosNodeTsqr::fill_with_zeros().

Author:
Mark Hoemmen

Definition at line 1014 of file Tsqr_KokkosNodeTsqr.hpp.


Constructor & Destructor Documentation

template<class LocalOrdinal , class Scalar >
TSQR::details::FillWDP< LocalOrdinal, Scalar >::FillWDP ( const MatView< LocalOrdinal, Scalar >  A,
const CacheBlockingStrategy< LocalOrdinal, Scalar > &  strategy,
const Scalar  value,
const int  numPartitions,
const bool  contiguousCacheBlocks 
) [inline]

Constructor.

Parameters:
A[in/out] Matrix to fill with the value.
strategy[in] Cache-blocking strategy.
value[in] The value with which to fill A.
numPartitions[in] Number of partitions of the matrix A; maximum available parallelism.
contiguousCacheBlocks[in] Whether the cache blocks of A are stored contiguously.

Definition at line 1050 of file Tsqr_KokkosNodeTsqr.hpp.


Member Function Documentation

template<class LocalOrdinal , class Scalar >
void TSQR::details::FillWDP< LocalOrdinal, Scalar >::execute ( const int  partitionIndex) [inline]

Method called by Kokkos' parallel_for.

Parameters:
partitionIndex[in] Zero-based index of the partition of the matrix. We parallelize over partitions. Partitions respect cache blocks.

Definition at line 1068 of file Tsqr_KokkosNodeTsqr.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends