mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-02-04 19:55:18 -05:00
remove iter from uopgraph (#6110)
* remove iter from uopgraph * linearize returns uops * fix tests * linearize in linearize * tests fix * touchup * test failures
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import unittest
|
||||
from tinygrad import Device
|
||||
from tinygrad.codegen.uopgraph import UOpGraph
|
||||
from tinygrad.helpers import Timing, Profiling
|
||||
|
||||
class TestDeviceSpeed(unittest.TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.dev = Device[Device.DEFAULT]
|
||||
cls.empty = Device[Device.DEFAULT].renderer.render("test", UOpGraph([]))
|
||||
cls.empty = Device[Device.DEFAULT].renderer.render("test", [])
|
||||
|
||||
def test_empty_compile(self):
|
||||
with Timing("compiler "):
|
||||
|
||||
Reference in New Issue
Block a user