| 63 | } |
| 64 | |
| 65 | port::StatusOr<StreamExecutor*> HostPlatform::GetExecutor( |
| 66 | const StreamExecutorConfig& config) { |
| 67 | return executor_cache_.GetOrCreate( |
| 68 | config, [&]() { return GetUncachedExecutor(config); }); |
| 69 | } |
| 70 | |
| 71 | port::StatusOr<std::unique_ptr<StreamExecutor>> |
| 72 | HostPlatform::GetUncachedExecutor(const StreamExecutorConfig& config) { |
nothing calls this directly
no test coverage detected