XeTLA v0.3.6
IntelĀ® Xe Templates for Linear Algebra - API Definition Document
 
Loading...
Searching...
No Matches
gpu::xetla::mem_shape_t< 2 > Struct Reference

#include <memory_descriptor.hpp>

Public Member Functions

 mem_shape_t ()=default
 
 mem_shape_t (uint32_t shape_x_, uint32_t shape_y_, uint32_t row_stride_)
 
 mem_shape_t (const mem_shape_t< 2 > &shape)
 
mem_shape_t< 2 > & operator= (const mem_shape_t< 2 > &shape)
 
void init (uint32_t shape_x_, uint32_t shape_y_, uint32_t row_stride_)
 

Public Attributes

uint32_t x
 
uint32_t y
 
uint32_t stride
 

Constructor & Destructor Documentation

◆ mem_shape_t() [1/3]

gpu::xetla::mem_shape_t< 2 >::mem_shape_t ( )
inlinedefault

◆ mem_shape_t() [2/3]

gpu::xetla::mem_shape_t< 2 >::mem_shape_t ( uint32_t  shape_x_,
uint32_t  shape_y_,
uint32_t  row_stride_ 
)
inline

◆ mem_shape_t() [3/3]

gpu::xetla::mem_shape_t< 2 >::mem_shape_t ( const mem_shape_t< 2 > &  shape)
inline

Member Function Documentation

◆ init()

void gpu::xetla::mem_shape_t< 2 >::init ( uint32_t  shape_x_,
uint32_t  shape_y_,
uint32_t  row_stride_ 
)
inline

◆ operator=()

mem_shape_t< 2 > & gpu::xetla::mem_shape_t< 2 >::operator= ( const mem_shape_t< 2 > &  shape)
inline

Member Data Documentation

◆ stride

uint32_t gpu::xetla::mem_shape_t< 2 >::stride

◆ x

uint32_t gpu::xetla::mem_shape_t< 2 >::x

◆ y

uint32_t gpu::xetla::mem_shape_t< 2 >::y