Compute Library
 22.11
IndirectInputArg< T > Struct Template Reference

#include <utils.hpp>

Collaboration diagram for IndirectInputArg< T >:
[legend]

Public Member Functions

 IndirectInputArg (const T *base, size_t stride)
 
 IndirectInputArg (const T *const *const *ptr, unsigned int start_row, unsigned int start_col)
 
 IndirectInputArg ()
 

Data Fields

struct {
   const T *   base
 
   size_t   stride
 
direct = {}
 
struct {
   const T *const *const *   ptr
 
   unsigned int   start_row
 
   unsigned int   start_col
 
indirect = {}
 
bool is_indirect
 

Detailed Description

template<typename T>
struct arm_gemm::IndirectInputArg< T >

Definition at line 137 of file utils.hpp.

Constructor & Destructor Documentation

◆ IndirectInputArg() [1/3]

IndirectInputArg ( const T *  base,
size_t  stride 
)
inline

Definition at line 150 of file utils.hpp.

150  : is_indirect(false) {
151  direct.base = base;
152  direct.stride = stride;
153  }
struct arm_gemm::IndirectInputArg::@3 direct

◆ IndirectInputArg() [2/3]

IndirectInputArg ( const T *const *const *  ptr,
unsigned int  start_row,
unsigned int  start_col 
)
inline

Definition at line 156 of file utils.hpp.

References indirect.

156  : is_indirect(true) {
157  indirect.ptr = ptr;
158  indirect.start_row = start_row;
159  indirect.start_col = start_col;
160  }
const T *const *const * ptr
Definition: utils.hpp:143
struct arm_gemm::IndirectInputArg::@4 indirect
unsigned int start_col
Definition: utils.hpp:145
unsigned int start_row
Definition: utils.hpp:144

◆ IndirectInputArg() [3/3]

IndirectInputArg ( )
inline

Definition at line 162 of file utils.hpp.

162  : is_indirect(false) {
163  direct.base = nullptr;
164  direct.stride = 0;
165  }
struct arm_gemm::IndirectInputArg::@3 direct

Field Documentation

◆ base

const T* base

Definition at line 139 of file utils.hpp.

◆ direct

struct { ... } direct

◆ indirect

struct { ... } indirect

◆ is_indirect

bool is_indirect

Definition at line 147 of file utils.hpp.

◆ ptr

const T* const* const* ptr

Definition at line 143 of file utils.hpp.

◆ start_col

unsigned int start_col

Definition at line 145 of file utils.hpp.

◆ start_row

unsigned int start_row

Definition at line 144 of file utils.hpp.

◆ stride

size_t stride

Definition at line 140 of file utils.hpp.


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