SpatialOps
SpatialOps::MatOperation< OpT, RightT, LeftT, ResultT > Struct Template Reference

Operation base class defined on matrices and/or vectors. More...

#include <MatVecOps.h>

Inheritance diagram for SpatialOps::MatOperation< OpT, RightT, LeftT, ResultT >:

Static Public Member Functions

static void cpu_launch (ResultT *const result, const LeftT &left, const RightT &right)
 Called to initiate evaluation. More...
 
static void gpu_launch (ResultT *const result, const LeftT &left, const RightT &right)
 Called by initiate evaluation. More...
 

Detailed Description

template<typename OpT, typename RightT, typename LeftT, typename ResultT>
struct SpatialOps::MatOperation< OpT, RightT, LeftT, ResultT >

Operation base class defined on matrices and/or vectors.

Represents a basic binaray operation on matrices or vectors

Definition at line 468 of file MatVecOps.h.

Member Function Documentation

◆ cpu_launch()

template<typename OpT, typename RightT, typename LeftT, typename ResultT>
static void SpatialOps::MatOperation< OpT, RightT, LeftT, ResultT >::cpu_launch ( ResultT *const  result,
const LeftT &  left,
const RightT &  right 
)
inlinestatic

Called to initiate evaluation.

Parameters
resultResultT* const pointer to the destination
matconst LeftT& matrix or vector on the left side
vecconst RightT& matrix or vector on the right side
Returns
void

Immediately calls the operate method because Nebo manages multi-thread execution

Definition at line 479 of file MatVecOps.h.

◆ gpu_launch()

template<typename OpT, typename RightT, typename LeftT, typename ResultT>
static void SpatialOps::MatOperation< OpT, RightT, LeftT, ResultT >::gpu_launch ( ResultT *const  result,
const LeftT &  left,
const RightT &  right 
)
inlinestatic

Called by initiate evaluation.

Parameters
resultResultT* const pointer to the destination
matconst LeftT& matrix or vector on the left side
vecconst RightT& matrix or vector on the right side
Returns
void

Immediately calls the operate method because Nebo manages GPU execution

Definition at line 492 of file MatVecOps.h.


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