Advanced Multi-Physics (AMP)
On-Line Documentation
Static Public Member Functions | List of all members
AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S > Struct Template Reference

#include <DeviceMatrixOperations.h>

Static Public Member Functions

static void axpy (const size_t N, const S alpha, S *x, S *y)
 
static void copy (const size_t N, const S *x, S *y)
 
static void extractDiagonal (const L *row_starts, const S *coeffs, const size_t N, S *diag)
 
static void LinfNorm (const size_t N, const S *x, const L *row_starts, S *row_sums)
 
static void mult (const L *row_starts, const L *cols_loc, const S *coeffs, const size_t N, const S *in, S *out)
 
static void scale (const size_t N, S *coeffs, const S alpha)
 
static void setDiagonal (const L *row_starts, S *coeffs, const size_t N, const S *diag)
 
static void setIdentity (const L *row_starts, S *coeffs, const size_t N)
 

Detailed Description

template<typename G, typename L, typename S>
struct AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >

Definition at line 11 of file DeviceMatrixOperations.h.

Member Function Documentation

◆ axpy()

template<typename G , typename L , typename S >
static void AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >::axpy ( const size_t  N,
const S  alpha,
S *  x,
S *  y 
)
static

◆ copy()

template<typename G , typename L , typename S >
static void AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >::copy ( const size_t  N,
const S *  x,
S *  y 
)
static

◆ extractDiagonal()

template<typename G , typename L , typename S >
static void AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >::extractDiagonal ( const L *  row_starts,
const S *  coeffs,
const size_t  N,
S *  diag 
)
static

◆ LinfNorm()

template<typename G , typename L , typename S >
static void AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >::LinfNorm ( const size_t  N,
const S *  x,
const L *  row_starts,
S *  row_sums 
)
static

◆ mult()

template<typename G , typename L , typename S >
static void AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >::mult ( const L *  row_starts,
const L *  cols_loc,
const S *  coeffs,
const size_t  N,
const S *  in,
S *  out 
)
static

◆ scale()

template<typename G , typename L , typename S >
static void AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >::scale ( const size_t  N,
S *  coeffs,
const S  alpha 
)
static

◆ setDiagonal()

template<typename G , typename L , typename S >
static void AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >::setDiagonal ( const L *  row_starts,
S *  coeffs,
const size_t  N,
const S *  diag 
)
static

◆ setIdentity()

template<typename G , typename L , typename S >
static void AMP::LinearAlgebra::DeviceMatrixOperations< G, L, S >::setIdentity ( const L *  row_starts,
S *  coeffs,
const size_t  N 
)
static

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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:42.
Comments on this page