Overview

The OpTilingRegistry class belongs to the context_ascendc namespace. It is used to load the dynamic library of tiling implementation and obtain the tiling function pointer of an operator for debugging and verification. This class is usually used together with the ContextBuilder class, which is used to construct the input parameters required by the tiling function. To use the OpTilingRegistry class, you need to link libtiling_api.so. For details, see How Do I Commission Tiling?.

Header File to Be Included

1
#include "tiling/context/context_builder.h"

Public Member Functions

OpTilingRegistry()
~OpTilingRegistry()
TilingFunc GetTilingFunc(const char *opType) const
bool LoadTilingLibrary(const char *tilingSoPath) const