lite/acceleration/configuration/c/gpu_plugin.h

This header file is for the delegate plugin for GPU.

Summary

For the C++ delegate plugin interface, the GPU delegate plugin is added to the DelegatePluginRegistry by the side effect of a constructor for a static object, so there's no public API needed for this plugin, other than the API of tflite::delegates::DelegatePluginRegistrys, which is declared in delegate_registry.h.

But to provide a C API to access the GPU delegate plugin, we do expose some functions, which are declared below.

Functions

TfLiteGpuDelegatePluginCApi()
C API for the GPU delegate plugin.

Functions

TfLiteGpuDelegatePluginCApi

const TfLiteDelegatePlugin * TfLiteGpuDelegatePluginCApi()

C API for the GPU delegate plugin.

Returns a pointer to a statically allocated table of function pointers.