| 199 | } |
| 200 | |
| 201 | port::StatusOr<StreamExecutor*> CudaPlatform::GetExecutor( |
| 202 | const StreamExecutorConfig& config) { |
| 203 | return executor_cache_.GetOrCreate( |
| 204 | config, [&]() { return GetUncachedExecutor(config); }); |
| 205 | } |
| 206 | |
| 207 | port::StatusOr<std::unique_ptr<StreamExecutor>> |
| 208 | CudaPlatform::GetUncachedExecutor(const StreamExecutorConfig& config) { |
nothing calls this directly
no test coverage detected