DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type > Struct Template Reference

#include <sycl/ext/oneapi/matrix/matrix-aot-amx.hpp>

Collaboration diagram for cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >:

Public Member Functions

 joint_matrix (Group sg)
 

Public Attributes

int8_t raw_storage [size]
 
matrix_layout layout
 

Static Public Attributes

static constexpr size_t trows = (NumRows + tile_size - 1) / tile_size
 
static constexpr size_t tcols
 
static constexpr size_t size = trows * tcols * tile_size * tile_size * 4
 
static constexpr size_t stride = tcols * tile_size * 4 / sizeof(T)
 
static constexpr bool isSmall = false
 

Detailed Description

template<typename Group, typename T, size_t NumRows, size_t NumCols, matrix_layout Layout>
struct cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >

Definition at line 145 of file matrix-aot-amx.hpp.

Member Function Documentation

◆ joint_matrix()

template<typename Group , typename T , size_t NumRows, size_t NumCols, matrix_layout Layout>
cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >::joint_matrix ( Group  sg)
inline

Definition at line 171 of file matrix-aot-amx.hpp.

Member Data Documentation

◆ isSmall

template<typename Group , typename T , size_t NumRows, size_t NumCols, matrix_layout Layout>
constexpr bool cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >::isSmall = false
staticconstexpr

Definition at line 166 of file matrix-aot-amx.hpp.

◆ layout

template<typename Group , typename T , size_t NumRows, size_t NumCols, matrix_layout Layout>
matrix_layout cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >::layout

Definition at line 169 of file matrix-aot-amx.hpp.

◆ raw_storage

template<typename Group , typename T , size_t NumRows, size_t NumCols, matrix_layout Layout>
int8_t cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >::raw_storage[size]

Definition at line 165 of file matrix-aot-amx.hpp.

◆ size

template<typename Group , typename T , size_t NumRows, size_t NumCols, matrix_layout Layout>
constexpr size_t cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >::size = trows * tcols * tile_size * tile_size * 4
staticconstexpr

Definition at line 162 of file matrix-aot-amx.hpp.

◆ stride

template<typename Group , typename T , size_t NumRows, size_t NumCols, matrix_layout Layout>
constexpr size_t cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >::stride = tcols * tile_size * 4 / sizeof(T)
staticconstexpr

Definition at line 164 of file matrix-aot-amx.hpp.

◆ tcols

template<typename Group , typename T , size_t NumRows, size_t NumCols, matrix_layout Layout>
constexpr size_t cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >::tcols
staticconstexpr
Initial value:
=
(NumCols * sizeof(T) / 4 + tile_size - 1) / tile_size

Definition at line 155 of file matrix-aot-amx.hpp.

◆ trows

template<typename Group , typename T , size_t NumRows, size_t NumCols, matrix_layout Layout>
constexpr size_t cl::sycl::ext::intel::experimental::matrix::enable_if<!((NumRows<=tile_size) &&(NumCols *sizeof(T)/4<=tile_size) &&(Layout !=matrix_layout::col_major))>::type >::trows = (NumRows + tile_size - 1) / tile_size
staticconstexpr

Definition at line 153 of file matrix-aot-amx.hpp.


The documentation for this struct was generated from the following file:
T
cl::sycl::ext::intel::experimental::matrix::tile_size
constexpr size_t tile_size
Definition: matrix-aot-amx.hpp:120