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.

## ◆ b

 unsigned int b { 0 }

Batch size.

Definition at line 49 of file CLTypes.h.

## ◆ data_type

 DataType data_type { DataType::UNKNOWN }

Data type.

Definition at line 51 of file CLTypes.h.

## ◆ 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.

## ◆ k

 unsigned int k { 0 }

Number of rows for the rhs matrix.

Rhs matrix NOT transposed

Definition at line 48 of file CLTypes.h.

## ◆ m

 unsigned int m { 0 }

Number of rows for the lhs matrix.

Lhs matrix NOT transposed

Definition at line 46 of file CLTypes.h.

## ◆ n

 unsigned int n { 0 }

Number of columns for the rhs matrix.

Rhs matrix NOT transposed

Definition at line 47 of file CLTypes.h.

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