| 804 | } |
| 805 | |
| 806 | void GpuExecutor::DeallocateStream(Stream* stream) { |
| 807 | GpuStream* cuda_stream = AsGpuStream(stream); |
| 808 | if (!cuda_stream->IsIdle()) { |
| 809 | LOG(ERROR) << "Deallocating stream with pending work"; |
| 810 | } |
| 811 | cuda_stream->Destroy(); |
| 812 | } |
| 813 | |
| 814 | bool GpuExecutor::AllocateTimer(Timer* timer) { |
| 815 | return AsGpuTimer(timer)->Init(); |
nothing calls this directly
no test coverage detected