MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DeallocateStream

Method DeallocateStream

tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:650–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650void 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
658bool GpuExecutor::AllocateTimer(Timer* timer) {
659 return AsGpuTimer(timer)->Init();

Callers

nothing calls this directly

Calls 3

AsGpuStreamFunction · 0.85
IsIdleMethod · 0.80
DestroyMethod · 0.45

Tested by

no test coverage detected