Commit Graph
4 Commits
Author SHA1 Message Date
chenyuandGitHub c71627fee6 move GlobalCounter to helpers (#4002)
break circular import between ops and buffer
2024-03-30 00:30:30 -04:00
George HotzandGitHub 9a6ac2a50a create the buffer with the LazyBuffer (#3977)
* create the buffer with the LazyBuffer

* fixes

* hack underlying buffer when we change dtype

* we only care about allocated buffers

* asserts
2024-03-28 19:31:28 -07:00
geohot d085837179 hotfix: that mem_used was in the wrong place 2024-03-28 17:09:04 -07:00
George HotzandGitHub 42b9d999ea Buffer isn't always allocated (#3974)
* buffer alloc

* allocate

* missing allocates

* last one
2024-03-28 13:33:47 -07:00