| 87 | } |
| 88 | |
| 89 | static GpuContext* GetGpuContext(Stream* stream) { |
| 90 | return static_cast<GpuExecutor*>(stream->parent()->implementation()) |
| 91 | ->gpu_context(); |
| 92 | } |
| 93 | |
| 94 | GpuContext* ExtractGpuContext(GpuExecutor* rocm_exec) { |
| 95 | CHECK(rocm_exec != nullptr); |
no test coverage detected