MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / PluginKindString

Function PluginKindString

tensorflow/stream_executor/plugin_registry.cc:30–44  ·  view source on GitHub ↗

Returns the string representation of the specified PluginKind.

Source from the content-addressed store, hash-verified

28
29// Returns the string representation of the specified PluginKind.
30string PluginKindString(PluginKind plugin_kind) {
31 switch (plugin_kind) {
32 case PluginKind::kBlas:
33 return "BLAS";
34 case PluginKind::kDnn:
35 return "DNN";
36 case PluginKind::kFft:
37 return "FFT";
38 case PluginKind::kRng:
39 return "RNG";
40 case PluginKind::kInvalid:
41 default:
42 return "kInvalid";
43 }
44}
45
46PluginRegistry::DefaultFactories::DefaultFactories() :
47 blas(kNullPlugin), dnn(kNullPlugin), fft(kNullPlugin), rng(kNullPlugin) { }

Callers 2

SetDefaultFactoryMethod · 0.85
HasFactoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected