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

Method CreateFft

tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:721–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719}
720
721fft::FftSupport* GpuExecutor::CreateFft() {
722 PluginRegistry* registry = PluginRegistry::Instance();
723 port::StatusOr<PluginRegistry::FftFactory> status =
724 registry->GetFactory<PluginRegistry::FftFactory>(rocm::kROCmPlatformId,
725 plugin_config_.fft());
726 if (!status.ok()) {
727 LOG(ERROR) << "Unable to retrieve FFT factory: "
728 << status.status().error_message();
729 return nullptr;
730 }
731
732 return status.ValueOrDie()(this);
733}
734
735rng::RngSupport* GpuExecutor::CreateRng() {
736 PluginRegistry* registry = PluginRegistry::Instance();

Callers

nothing calls this directly

Calls 3

fftMethod · 0.80
okMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected