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

Method PinAndSwapIn

tensorflow/compiler/xrt/xrt_state.cc:318–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318xla::StatusOr<bool> XRTTupleAllocation::PinAndSwapIn(
319 XRTMemoryManager* memory_manager, xla::Backend* backend) {
320 Pin();
321 return SwapIn(memory_manager, backend);
322}
323
324bool XRTTupleAllocation::IsSwapped() const {
325 mutex_lock lock(lock_);

Callers 1

LookupAndPinMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected