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

Method SupportsRng

tensorflow/stream_executor/host/host_gpu_executor.cc:325–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325bool HostExecutor::SupportsRng() const {
326 return PluginRegistry::Instance()
327 ->GetFactory<PluginRegistry::RngFactory>(kHostPlatformId,
328 plugin_config_.rng())
329 .ok();
330}
331
332rng::RngSupport *HostExecutor::CreateRng() {
333 PluginRegistry *registry = PluginRegistry::Instance();

Callers

nothing calls this directly

Calls 2

okMethod · 0.45
rngMethod · 0.45

Tested by

no test coverage detected