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

Method Deallocate

tensorflow/stream_executor/tf_allocator_adapter.cc:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56port::Status TfAllocatorAdapter::Deallocate(int device_ordinal,
57 DeviceMemoryBase mem) {
58 wrapped_->DeallocateRaw(mem.opaque());
59 return port::Status::OK();
60}
61
62port::StatusOr<Stream *> TfAllocatorAdapter::GetStream(int device_ordinal) {
63 CHECK_EQ(stream_->parent()->device_ordinal(), device_ordinal);

Callers 3

FreeMethod · 0.45
ForceDeallocateAllMethod · 0.45

Calls 2

opaqueMethod · 0.80
DeallocateRawMethod · 0.45

Tested by

no test coverage detected