| 60 | namespace gpu { |
| 61 | |
| 62 | static GpuEvent* AsGpuEvent(Event* event) { |
| 63 | DCHECK(event != nullptr); |
| 64 | return static_cast<GpuEvent*>(event->implementation()); |
| 65 | } |
| 66 | |
| 67 | // Given a platform-independent timer datatype, returns the internal ROCM |
| 68 | // platform implementation pointer. |
no test coverage detected