Revert "add tests to vcount stuff [pr] (#7389)"

This reverts commit 1b7084899b.
This commit is contained in:
George Hotz
2024-10-30 10:56:49 +08:00
parent 1b7084899b
commit cc8d6dbdf3
2 changed files with 2 additions and 39 deletions

View File

@@ -41,8 +41,8 @@ class PtrDType(DType):
local: bool
v: int
def __hash__(self): return super().__hash__()
def scalar(self) -> DType: return self.base.ptr(self.local, 1)
def vec(self, sz:int) -> DType: return self.base.ptr(self.local, sz)
def scalar(self) -> DType: return self.ptr(self.local, 1)
def vec(self, sz:int) -> DType: return self.ptr(self.local, sz)
@property
def vcount(self): return self.v
# local isn't used in the compare