| 648 | } |
| 649 | |
| 650 | void GpuExecutor::DeallocateStream(Stream* stream) { |
| 651 | GpuStream* rocm_stream = AsGpuStream(stream); |
| 652 | if (!rocm_stream->IsIdle()) { |
| 653 | LOG(ERROR) << "Deallocating stream with pending work"; |
| 654 | } |
| 655 | rocm_stream->Destroy(); |
| 656 | } |
| 657 | |
| 658 | bool GpuExecutor::AllocateTimer(Timer* timer) { |
| 659 | return AsGpuTimer(timer)->Init(); |
nothing calls this directly
no test coverage detected