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