Compute Library
 22.08
CLGEMMKernelSelectionParams Struct Reference

OpenCL GEMM kernel selection parameters. More...

#include <CLTypes.h>

Data Fields

unsigned int m { 0 }
 Number of rows for the lhs matrix. More...
 
unsigned int n { 0 }
 Number of columns for the rhs matrix. More...
 
unsigned int k { 0 }
 Number of rows for the rhs matrix. More...
 
unsigned int b { 0 }
 Batch size. More...
 
bool is_rhs_constant { false }
 True if the content of the rhs matrix is constant. More...
 
DataType data_type { DataType::UNKNOWN }
 Data type. More...
 

Detailed Description

OpenCL GEMM kernel selection parameters.

These information are retrieved to select the GEMM kernel on OpenCL

Definition at line 44 of file CLTypes.h.

Field Documentation

◆ b

◆ data_type

◆ is_rhs_constant

bool is_rhs_constant { false }

True if the content of the rhs matrix is constant.

Definition at line 50 of file CLTypes.h.

Referenced by CLGEMMDefaultTypeBifrost::select_kernel(), CLGEMMDefaultTypeValhall::select_kernel(), and CLGEMMDefaultTypeMidgard::select_kernel().

◆ k

unsigned int k { 0 }

Number of rows for the rhs matrix.

Rhs matrix NOT transposed

Definition at line 48 of file CLTypes.h.

Referenced by CLGEMMDefaultTypeBifrost::select_kernel(), CLGEMMDefaultTypeValhall::select_kernel(), and CLGEMMDefaultTypeMidgard::select_kernel().

◆ m

unsigned int m { 0 }

◆ n

unsigned int n { 0 }

Number of columns for the rhs matrix.

Rhs matrix NOT transposed

Definition at line 47 of file CLTypes.h.

Referenced by CLGEMMDefaultTypeBifrost::select_kernel(), CLGEMMDefaultTypeValhall::select_kernel(), and CLGEMMDefaultTypeMidgard::select_kernel().


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