upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorZack <zmasi21@gmail.com>2026-12-02 04:09:12 -0800
committerZack <zmasi21@gmail.com>2026-12-02 04:09:12 -0800
commit155719f2755d1dbc89aa46a33abc6aa34a090abb (patch)
tree7f41aa57bfa6d8003d3334597e935aa07cd4dd72 /tests/test_run_gpu_tests_python_assembler.py
parenta62b4785268971d97cadf3dc7780a83c5414c90f (diff)
parent9b4d718992a343ef680d462203f3038fcef90c79 (diff)
d3d12/docs: merge main and add Series X 48 GB page-file sizing (#3109)
Forward-merges origin/main cleanly into d3d12/README.md, documents the measured Series X 58.8 GB commit footprint and fixed 32 GB page-file sizing on 48 GB RAM hosts from #3109 alongside residency.rs commit-reserve behavior, and switches the 8 GB starting command to direct PowerShell invocation so [hashtable]$More binds without stringification. Co-authored-by: mattiolocoding <mattiolocoding@users.noreply.github.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
-rw-r--r--tests/test_run_gpu_tests_python_assembler.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_run_gpu_tests_python_assembler.py b/tests/test_run_gpu_tests_python_assembler.py
index d817f4ec0..fd61b6a9d 100644
--- a/tests/test_run_gpu_tests_python_assembler.py
+++ b/tests/test_run_gpu_tests_python_assembler.py
@@ -20,6 +20,14 @@ import run_gpu_tests
20 20
21 21
22class PythonAssemblerTests(unittest.TestCase): 22class PythonAssemblerTests(unittest.TestCase):
23 def test_native_assembler_error_preserves_undecodable_diagnostics(self):
24 run = subprocess.run
25 child = [sys.executable, "-c", "import sys; sys.stderr.buffer.write(b'bad operand \\xff'); sys.exit(1)"]
26 with patch.object(run_gpu_tests.subprocess, "run", side_effect=lambda _, **kw: run(child, **kw)):
27 with self.assertRaises(RuntimeError) as raised:
28 run_gpu_tests.spirv_as("", "unused.spv")
29 self.assertIn(r"bad operand \xff", str(raised.exception))
30
23 def test_resolve_assembler_auto_and_explicit(self) -> None: 31 def test_resolve_assembler_auto_and_explicit(self) -> None:
24 self.assertEqual(run_gpu_tests.resolve_assembler("python"), "python") 32 self.assertEqual(run_gpu_tests.resolve_assembler("python"), "python")
25 self.assertEqual(run_gpu_tests.resolve_assembler("spirv-as"), "spirv-as") 33 self.assertEqual(run_gpu_tests.resolve_assembler("spirv-as"), "spirv-as")