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

Method DeallocateStream

tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:806–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804}
805
806void 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
814bool GpuExecutor::AllocateTimer(Timer* timer) {
815 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