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

Method GetExecutor

tensorflow/stream_executor/rocm/rocm_platform.cc:128–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128port::StatusOr<StreamExecutor*> ROCmPlatform::GetExecutor(
129 const StreamExecutorConfig& config) {
130 return executor_cache_.GetOrCreate(
131 config, [&]() { return GetUncachedExecutor(config); });
132}
133
134port::StatusOr<std::unique_ptr<StreamExecutor>>
135ROCmPlatform::GetUncachedExecutor(const StreamExecutorConfig& config) {

Callers

nothing calls this directly

Calls 1

GetOrCreateMethod · 0.45

Tested by

no test coverage detected