Home
last modified time | relevance | path

Searched refs:plugin_id (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/
Dplugin_registry.cc70 PluginId plugin_id, const string& plugin_name, FACTORY_TYPE factory, in RegisterFactoryInternal() argument
74 if (factories->find(plugin_id) != factories->end()) { in RegisterFactoryInternal()
82 (*factories)[plugin_id] = factory; in RegisterFactoryInternal()
83 plugin_names_[plugin_id] = plugin_name; in RegisterFactoryInternal()
89 PluginId plugin_id, const std::map<PluginId, FACTORY_TYPE>& factories, in GetFactoryInternal() argument
91 auto iter = factories.find(plugin_id); in GetFactoryInternal()
93 iter = generic_factories.find(plugin_id); in GetFactoryInternal()
97 port::Printf("Plugin ID %p not registered.", plugin_id)); in GetFactoryInternal()
106 PluginId plugin_id) { in SetDefaultFactory() argument
107 if (!HasFactory(platform_id, plugin_kind, plugin_id)) { in SetDefaultFactory()
[all …]
Dplugin_registry.h65 port::Status RegisterFactory(Platform::Id platform_id, PluginId plugin_id,
71 port::Status RegisterFactoryForAllPlatforms(PluginId plugin_id,
85 PluginId plugin_id);
96 PluginId plugin_id);
103 PluginId plugin_id);
125 port::Status RegisterFactoryInternal(PluginId plugin_id,
133 PluginId plugin_id, const std::map<PluginId, FactoryT>& factories,