upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/host_cpu.cpp
diff options
context:
space:
mode:
authorfadi-abu-basem-25 <241361422+fadi-abu-basem-25@users.noreply.github.com>2026-11-24 00:04:40 +0200
committerfadi-abu-basem-25 <241361422+fadi-abu-basem-25@users.noreply.github.com>2026-11-24 00:04:40 +0200
commit6cdb668e8abe7c5ddae0e4d85dde16d35f92a3fc (patch)
tree46b122d9a8405608f07c25273017de172cc1fe76 /runtime/src/host_cpu.cpp
parent5d74c272363f2703265d44e6aaab1a1df8ddfaf3 (diff)
f32_fuzz, cf_diff: import the translator where it is used (EGEN-FUZZ-LAZY-IMPORT)
Both tools set sys.dont_write_bytecode and imported rdna2spirv at the top, so on a checkout without __pycache__ every start compiled the translator before parsing the arguments: about 20 s to print a usage line, which made test_no_arguments_prints_usage time out (5 s) in tests/test_f32_fuzz.py and tests/test_cf_diff.py. They now import it in the functions that use it. Also removes the second, identical CliTests class in tests/test_f32_fuzz.py, which replaced the first one at import. Supersedes #5056, which conflicts with main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/host_cpu.cpp')
0 files changed, 0 insertions, 0 deletions