tinygrad/tinygrad/runtime
kposborne2 0b88c5f923
Eliminate LoadOps.FROMCPU (#920)
* Add fromCPU method to init LazyBuffer to eliminate LoadOps.FROMCPU

* squish

* remove failing test

* seems logical

* Revert "seems logical"

This reverts commit bbdcdc8713.

* inline and remove assertion

* fromCPU staticmethod, defer non-cpu device to loadop

* restore test
2023-06-04 08:55:50 -07:00
..
lib.py Eliminate LoadOps.FROMCPU (#920) 2023-06-04 08:55:50 -07:00
ops_clang.py support Int64 type in cstyle gen (#860) 2023-05-30 16:04:46 -07:00
ops_cpu.py Disktensors! (#819) 2023-05-28 15:40:37 -07:00
ops_cuda.py Fix cuda (#836) 2023-05-29 07:59:36 -07:00
ops_disk.py Fast DiskTensor to other Tensor (#916) 2023-06-03 12:25:41 -07:00
ops_gpu.py Refactor LoadOps (#910) 2023-06-03 09:40:43 -07:00
ops_llvm.py linearizer! (#714) 2023-03-19 23:43:49 -07:00
ops_metal.py support Int64 type in cstyle gen (#860) 2023-05-30 16:04:46 -07:00
ops_torch.py Onnx ops And, Or, Xor, Not (#847) 2023-05-29 11:09:20 -07:00