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

Method CreateDnn

tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:707–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707dnn::DnnSupport* GpuExecutor::CreateDnn() {
708 PluginRegistry* registry = PluginRegistry::Instance();
709 port::StatusOr<PluginRegistry::DnnFactory> status =
710 registry->GetFactory<PluginRegistry::DnnFactory>(rocm::kROCmPlatformId,
711 plugin_config_.dnn());
712 if (!status.ok()) {
713 LOG(ERROR) << "Unable to retrieve DNN factory: "
714 << status.status().error_message();
715 return nullptr;
716 }
717
718 return status.ValueOrDie()(this);
719}
720
721fft::FftSupport* GpuExecutor::CreateFft() {
722 PluginRegistry* registry = PluginRegistry::Instance();

Callers 1

AsDnnMethod · 0.45

Calls 3

dnnMethod · 0.45
okMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected