Compute Library
 22.11
IndirectOutputArg< T > Struct Template Reference

#include <utils.hpp>

Collaboration diagram for IndirectOutputArg< T >:
[legend]

Public Member Functions

 IndirectOutputArg (T *base, size_t stride)
 
 IndirectOutputArg (T *const *ptr, size_t offset)
 
 IndirectOutputArg ()
 

Data Fields

struct {
   T *   base
 
   size_t   stride
 
direct = {}
 
struct {
   T *const *   ptr
 
   size_t   offset
 
indirect = {}
 
bool is_indirect
 

Detailed Description

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

Definition at line 86 of file utils.hpp.

Constructor & Destructor Documentation

◆ IndirectOutputArg() [1/3]

IndirectOutputArg ( T *  base,
size_t  stride 
)
inline

Definition at line 98 of file utils.hpp.

98  : is_indirect(false) {
99  direct.base = base;
100  direct.stride = stride;
101  }
struct arm_gemm::IndirectOutputArg::@1 direct

◆ IndirectOutputArg() [2/3]

IndirectOutputArg ( T *const *  ptr,
size_t  offset 
)
inline

Definition at line 104 of file utils.hpp.

References indirect, and offset().

104  : is_indirect(true) {
105  indirect.ptr = ptr;
106  indirect.offset = offset;
107  }
struct arm_gemm::IndirectOutputArg::@2 indirect

◆ IndirectOutputArg() [3/3]

IndirectOutputArg ( )
inline

Definition at line 109 of file utils.hpp.

109  : is_indirect(false) {
110  direct.base = nullptr;
111  direct.stride = 0;
112  }
struct arm_gemm::IndirectOutputArg::@1 direct

Field Documentation

◆ base

T* base

Definition at line 88 of file utils.hpp.

◆ direct

struct { ... } direct

◆ indirect

struct { ... } indirect

◆ is_indirect

bool is_indirect

Definition at line 95 of file utils.hpp.

◆ offset

size_t offset

Definition at line 93 of file utils.hpp.

◆ ptr

T* const* ptr

Definition at line 92 of file utils.hpp.

◆ stride

size_t stride

Definition at line 89 of file utils.hpp.


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