mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-07 03:00:26 -04:00
use comgr to compile (#3248)
* use comgr to compile * fast * bfloat16 * move comgr to it's own file * cleaner style * comgr in new place * comgr free + dtype cleanup
This commit is contained in:
@@ -14,6 +14,11 @@ class TestDeviceSpeed(unittest.TestCase):
|
||||
with Timing("compiler "):
|
||||
self.dev.compiler(self.empty)
|
||||
|
||||
def test_empty_compile_twice(self):
|
||||
self.dev.compiler(self.empty)
|
||||
with Timing("compiler "):
|
||||
self.dev.compiler(self.empty)
|
||||
|
||||
def test_launch_speed(self):
|
||||
prg_bin = self.dev.compiler(self.empty)
|
||||
prg = self.dev.runtime("test", prg_bin)
|
||||
|
||||
Reference in New Issue
Block a user