| 549 | } |
| 550 | |
| 551 | bool XRTTupleAllocation::IsExclusiveOwner() const { |
| 552 | for (const auto& index_buffer : buffers_) { |
| 553 | if (index_buffer.second != nullptr && |
| 554 | !index_buffer.second->RefCountIsOne()) { |
| 555 | return false; |
| 556 | } |
| 557 | } |
| 558 | return true; |
| 559 | } |
| 560 | |
| 561 | size_t XRTTupleAllocation::GetDeviceMemorySize() const { |
| 562 | return device_memory_size_; |
nothing calls this directly
no test coverage detected