(self)
| 179 | |
| 180 | @property |
| 181 | def allocated_memory(self) -> int: |
| 182 | nbytes = num_bytes_from_shape_and_dtype(self.shape, self.dtype) |
| 183 | return calculate_aligned_num_bytes(nbytes, self.alignment) |
| 184 | |
| 185 | def realign(self, new_alignment: int) -> int: |
| 186 | self.alignment = new_alignment |
nothing calls this directly
no test coverage detected