(self, cnt)
| 123 | @property |
| 124 | def _buf(self) -> Any: return self._bufs[self.device] |
| 125 | def ref(self, cnt): |
| 126 | self.base._uop_refcount += cnt |
| 127 | return self |
| 128 | # check if the underlying buffer is allocated and the current buffer/view is initialized |
| 129 | def is_initialized(self) -> bool: return self.is_allocated() and self.device in self._bufs |
| 130 | # check if the underlying buffer is allocated, possibly from the base object |
no outgoing calls
no test coverage detected