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

Method DiscardAllocation

tensorflow/compiler/xrt/xrt_state.cc:335–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333bool XRTTupleAllocation::IsPinned() const { return pin_count_ != 0; }
334
335void XRTTupleAllocation::DiscardAllocation(
336 const xla::ShapeIndex& buffer_index) {
337 buffers_.element(buffer_index)->DiscardAllocation();
338}
339
340const xla::Shape& XRTTupleAllocation::on_host_shape() const {
341 return on_host_shape_;

Callers 1

AliasBufferFromMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected