mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 07:28:15 -05:00
s/lazydata.realized/lazydata.base.realized/g (#2914)
* s/lazydata.realized/lazydata.base.realized/g * not that
This commit is contained in:
4
test/external/external_multi_gpu.py
vendored
4
test/external/external_multi_gpu.py
vendored
@@ -21,8 +21,8 @@ if __name__ == "__main__":
|
||||
with Timing("CPU creation: ", on_exit=lambda x: f", {(sz*4*2)/x:.2f} GB/sec"):
|
||||
c0 = (Tensor.ones(sz, device="clang")/2).realize()
|
||||
c1 = (Tensor.ones(sz, device="clang")/4).realize()
|
||||
print(c0.lazydata.realized)
|
||||
print(c1.lazydata.realized)
|
||||
print(c0.lazydata.base.realized)
|
||||
print(c1.lazydata.base.realized)
|
||||
|
||||
with Timing("CPU -> 0: ", on_exit=lambda x: f", {(sz*4)/x:.2f} GB/sec"):
|
||||
a0 = c0.to(d0).realize()
|
||||
|
||||
Reference in New Issue
Block a user