hipDNN backend plugin unloading mode C API#
2026-03-31
1 min read time
Applies to Linux and Windows
Enums
-
enum hipdnnPluginUnloadingMode_ext_t#
Specifies the plugin unloading mode for hipDNN.
This enumeration defines when plugins are unloaded from memory:
HIPDNN_PLUGIN_UNLOAD_LAZY: Keeps plugins loaded until application exit or when hipdnnSetEnginePluginPaths_ext is called. This avoids expensive plugin reloading when handles are frequently created and destroyed.
HIPDNN_PLUGIN_UNLOAD_EAGER: Unloads plugins immediately when all handles are released.
Values:
-
enumerator HIPDNN_PLUGIN_UNLOAD_LAZY#
-
enumerator HIPDNN_PLUGIN_UNLOAD_EAGER#
Variables
-
constexpr hipdnnPluginUnloadingMode_ext_t HIPDNN_DEFAULT_PLUGIN_UNLOADING_MODE = HIPDNN_PLUGIN_UNLOAD_LAZY#