Searched refs:HasOwnership (Results 1 – 7 of 7) sorted by relevance
24 if (HasOwnership()) { in AsDeviceMemoryBase()31 bool MaybeOwningDeviceMemory::HasOwnership() const { in HasOwnership() function in xla::MaybeOwningDeviceMemory37 if (!HasOwnership()) { in Release()45 return HasOwnership() ? &absl::get<tensorflow::se::OwningDeviceMemory>(mem_) in AsOwningDeviceMemory()
65 bool HasOwnership() const;
73 if (!original_input.HasOwnership()) { in AllocateOutputMemoryWithInputReuse()
46 se_mem.owned = mem.HasOwnership(); in ToC()48 if (mem.HasOwnership()) { in ToC()
487 !maybe_owning_memory->HasOwnership()) { in ExecuteAsyncOnStreamImpl()493 if (maybe_owning_memory && maybe_owning_memory->HasOwnership()) { in ExecuteAsyncOnStreamImpl()
266 if (alias->must_alias() && !maybe_owning_memory->HasOwnership()) { in CreateResultShapedBuffer()
913 bool HasOwnership = in SelectPropertyForSynthesisFromProtocols() local920 if (HasOwnership && in SelectPropertyForSynthesisFromProtocols()926 if (HasOwnership && areIncompatiblePropertyAttributes( in SelectPropertyForSynthesisFromProtocols()