Compute Library
 21.05
ICLGEMMKernelConfiguration Class Referenceabstract

Basic interface for the GEMM kernel configuration. More...

#include <ICLGEMMKernelConfiguration.h>

Public Member Functions

 ICLGEMMKernelConfiguration (GPUTarget arch)
 Constructor. More...
 
 ICLGEMMKernelConfiguration (const ICLGEMMKernelConfiguration &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
ICLGEMMKernelConfigurationoperator= (const ICLGEMMKernelConfiguration &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
 ICLGEMMKernelConfiguration (ICLGEMMKernelConfiguration &&)=default
 Default Move Constructor. More...
 
ICLGEMMKernelConfigurationoperator= (ICLGEMMKernelConfiguration &&)=default
 Default move assignment operator. More...
 
virtual ~ICLGEMMKernelConfiguration ()=default
 Virtual destructor. More...
 
virtual std::pair< GEMMLHSMatrixInfo, GEMMRHSMatrixInfoconfigure (unsigned int m, unsigned int n, unsigned int k, unsigned int b, DataType data_type)=0
 Given M, N, K and B, this method returns the GEMMLHSMatrixInfo and GEMMRHSMatrixInfo to be used. More...
 

Detailed Description

Basic interface for the GEMM kernel configuration.

Definition at line 85 of file ICLGEMMKernelConfiguration.h.

Constructor & Destructor Documentation

◆ ICLGEMMKernelConfiguration() [1/3]

Constructor.

Parameters
[in]archGPU target

Definition at line 92 of file ICLGEMMKernelConfiguration.h.

93  : _target(arch)
94  {
95  }

◆ ICLGEMMKernelConfiguration() [2/3]

Prevent instances of this class from being copied (As this class contains pointers)

◆ ICLGEMMKernelConfiguration() [3/3]

Default Move Constructor.

◆ ~ICLGEMMKernelConfiguration()

virtual ~ICLGEMMKernelConfiguration ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ configure()

virtual std::pair<GEMMLHSMatrixInfo, GEMMRHSMatrixInfo> configure ( unsigned int  m,
unsigned int  n,
unsigned int  k,
unsigned int  b,
DataType  data_type 
)
pure virtual

Given M, N, K and B, this method returns the GEMMLHSMatrixInfo and GEMMRHSMatrixInfo to be used.

Parameters
[in]mNumber of rows LHS matrix
[in]nNumber of columns RHS matrix
[in]kNumber of columns LHS matrix or number of rows RHS matrix
[in]bBatch size
[in]data_typeData type

Implemented in CLGEMMDefaultConfigNativeBifrost, CLGEMMDefaultConfigNativeMidgard, CLGEMMDefaultConfigNativeValhall, CLGEMMDefaultConfigReshapedBifrost, CLGEMMDefaultConfigReshapedValhall, CLGEMMDefaultConfigReshapedRHSOnlyBifrost, and CLGEMMDefaultConfigReshapedRHSOnlyValhall.

◆ operator=() [1/2]

ICLGEMMKernelConfiguration& operator= ( const ICLGEMMKernelConfiguration )
delete

Prevent instances of this class from being copied (As this class contains pointers)

◆ operator=() [2/2]

Default move assignment operator.


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