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

Method Delete

tensorflow/compiler/xrt/client/xrt_client.cc:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void XrtBuffer::Delete() {
186 if (handle_.valid()) {
187 handle_.context()->EnqueueOp("XRTReleaseAllocationHandle", {&handle_},
188 /*output_arity=*/0,
189 /*attrs=*/{}, handle_.device_id());
190 handle_ = XrtTensorHandle();
191 }
192}
193
194xla::StatusOr<std::vector<std::shared_ptr<XrtBuffer>>>
195XrtBuffer::DestructureTuple() {

Callers 2

MakeContextMethod · 0.45
TEST_FFunction · 0.45

Calls 5

XrtTensorHandleClass · 0.85
validMethod · 0.45
EnqueueOpMethod · 0.45
contextMethod · 0.45
device_idMethod · 0.45

Tested by 2

MakeContextMethod · 0.36
TEST_FFunction · 0.36