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

Method CreateDnn

tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:863–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861}
862
863dnn::DnnSupport* GpuExecutor::CreateDnn() {
864 PluginRegistry *registry = PluginRegistry::Instance();
865 port::StatusOr<PluginRegistry::DnnFactory> status =
866 registry->GetFactory<PluginRegistry::DnnFactory>(cuda::kCudaPlatformId,
867 plugin_config_.dnn());
868 if (!status.ok()) {
869 LOG(ERROR) << "Unable to retrieve DNN factory: "
870 << status.status().error_message();
871 return nullptr;
872 }
873
874 return status.ValueOrDie()(this);
875}
876
877fft::FftSupport* GpuExecutor::CreateFft() {
878 PluginRegistry *registry = PluginRegistry::Instance();

Callers

nothing calls this directly

Calls 3

dnnMethod · 0.45
okMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected