mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 23:18:04 -05:00
fixed the import error for latest changes in master (#705)
This commit is contained in:
@@ -225,7 +225,7 @@ class Runtime(ABC):
|
||||
# RawMallocBuffer is the simplest concrete version of RawBuffer (in tinygrad/ops.py)
|
||||
# it's used for the CLANG and LLVM backends
|
||||
# it's just malloc(size * dtype.itemsize)
|
||||
from tinygrad.ops import RawMallocBuffer
|
||||
from tinygrad.runtime.lib import RawMallocBuffer
|
||||
|
||||
# ClangProgram is the simplest runtime (in tinygrad/runtime/ops_clang.py, code 7/10)
|
||||
# __init__ calls clang, and __call__ calls the function in the *.so outputted by clang
|
||||
|
||||
Reference in New Issue
Block a user