GetKernelType
Description
Obtains the kernel type.
Prototype
const ge::char_t *GetKernelType() const
Parameters
None
Returns
Type of the current kernel
Restrictions
None
Example
// Assume that KernelContext *context already exists. auto extend_context = reinterpret_cast<ExtendedKernelContext *>(context); auto kernel_type = extend_context->GetKernelType();
Parent topic: ExtendedKernelContext