From c5cee74706992670716e079afef64beb5faca19c Mon Sep 17 00:00:00 2001 From: chenyu Date: Tue, 21 Oct 2025 19:10:14 -0400 Subject: [PATCH] remove BLOCK_REORDER (#12854) not used --- extra/gemm/amd_uop_matmul.py | 3 +-- tinygrad/helpers.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/extra/gemm/amd_uop_matmul.py b/extra/gemm/amd_uop_matmul.py index 4b5dddd777..0b1f534789 100644 --- a/extra/gemm/amd_uop_matmul.py +++ b/extra/gemm/amd_uop_matmul.py @@ -328,8 +328,7 @@ if __name__ == "__main__": elif HL == 1: hprg = hl_spec_kernel3() else: hprg = hand_spec_kernel3() if HL == 3: - with Context(BLOCK_REORDER=0): - prg = get_program(hprg, Device.default.renderer) + prg = get_program(hprg, Device.default.renderer) else: prg = get_program(hprg, Device.default.renderer) print(prg.src) diff --git a/tinygrad/helpers.py b/tinygrad/helpers.py index 80d7a960c4..953a40597f 100644 --- a/tinygrad/helpers.py +++ b/tinygrad/helpers.py @@ -157,7 +157,7 @@ TRANSCENDENTAL, NOLOCALS = ContextVar("TRANSCENDENTAL", 1), ContextVar("NOLOCALS SPLIT_REDUCEOP, NO_MEMORY_PLANNER, RING = ContextVar("SPLIT_REDUCEOP", 1), ContextVar("NO_MEMORY_PLANNER", 0), ContextVar("RING", 1) PICKLE_BUFFERS, LRU = ContextVar("PICKLE_BUFFERS", 1), ContextVar("LRU", 1) CACHELEVEL, IGNORE_BEAM_CACHE, DEVECTORIZE = ContextVar("CACHELEVEL", 2), ContextVar("IGNORE_BEAM_CACHE", 0), ContextVar("DEVECTORIZE", 1) -DISABLE_COMPILER_CACHE, BLOCK_REORDER = ContextVar("DISABLE_COMPILER_CACHE", 0), ContextVar("BLOCK_REORDER", 1) +DISABLE_COMPILER_CACHE = ContextVar("DISABLE_COMPILER_CACHE", 0) QUANTIZE, VALIDATE_WITH_CPU, DISABLE_FAST_IDIV = ContextVar("QUANTIZE", 0), ContextVar("VALIDATE_WITH_CPU", 0), ContextVar("DISABLE_FAST_IDIV", 0) CORRECT_DIVMOD_FOLDING, FUSE_OPTIM = ContextVar("CORRECT_DIVMOD_FOLDING", 0), ContextVar("FUSE_OPTIM", 0) ALLOW_DEVICE_USAGE, MAX_BUFFER_SIZE = ContextVar("ALLOW_DEVICE_USAGE", 1), ContextVar("MAX_BUFFER_SIZE", 0)