remove r.lazydata.buf_uop_view [pr] (#8817)

This commit is contained in:
qazal
2025-01-30 16:14:36 -05:00
committed by GitHub
parent 530961f7d5
commit c8d878a5c1
3 changed files with 2 additions and 6 deletions

View File

@@ -84,8 +84,6 @@ a = UOp.metaop(Ops.EMPTY, (1,), dtypes.int32, DEVICE)
b = UOp.metaop(Ops.EMPTY, (1,), dtypes.int32, DEVICE)
a.buffer.allocate().copyin(memoryview(bytearray(struct.pack("I", 2))))
b.buffer.allocate().copyin(memoryview(bytearray(struct.pack("I", 3))))
a = a.buf_uop_view()
b = b.buf_uop_view()
# describe the computation
out = a.alu(Ops.ADD, b)