GetKernelType
Function Usage
Obtains the kernel type.
Prototype
1 | const ge::char_t *GetKernelType() const |
Parameters
None
Returns
Type of the current kernel
Constraints
None
Examples
1 2 3 | // Assume that KernelContext *context already exists. auto extend_context = reinterpret_cast<ExtendedKernelContext *>(context); auto kernel_type = extend_context->GetKernelType(); |
Parent topic: ExtendedKernelContext