mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
KOPT is over, BEAM is upstream (#2071)
* create cache for q learning * make linter happy * global beam * where it belongs * bugfix * ditch the kopt, use the beam * faster lin and DEBUG=2 okay * remove kopt, move search to features
This commit is contained in:
3
test/external/external_test_gpu_ast.py
vendored
3
test/external/external_test_gpu_ast.py
vendored
@@ -13,9 +13,6 @@ OSX = platform.system() == "Darwin"
|
||||
|
||||
def compile_and_test_ast(ast, local_size=None):
|
||||
k = CLCodegen(ast)
|
||||
if getenv("KOPT", 0):
|
||||
from extra.kernel_search import apply_optimization
|
||||
apply_optimization(k, ast, 10, getenv("KCACHE", 0))
|
||||
prg = k.codegen().build(CLProgram)
|
||||
if local_size is not None: prg.local_size = local_size
|
||||
for i in range(5): prg(prg.lower(k.bufs))
|
||||
|
||||
Reference in New Issue
Block a user