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

Method Register

tensorflow/compiler/xrt/xrt_memory_manager.cc:210–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210int64 XRTMemoryManager::Register(RefPtr<XRTTupleAllocation> tuple) {
211 DeviceContext* device_context = GetDeviceContext(tuple->device_ordinal(),
212 /*create_if_missing=*/true);
213 return device_context->Register(std::move(tuple));
214}
215
216xla::StatusOr<RefPtr<XRTTupleAllocation>> XRTMemoryManager::Lookup(
217 int64 handle) {

Callers 9

AddMethod · 0.45
CreateExecuteOutputFunction · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
RegisterCustomBuiltinOpsFunction · 0.45

Calls 1

device_ordinalMethod · 0.45

Tested by

no test coverage detected