gh#198: a deferred handle does not touch the device until it loads¶
Tests › tests/unit/inference/deferred_load_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/inference/deferred_load_test.cpp:238 · its file's page
What it checks (5)
REQUIRE(orch.initialize(config))observesinitializeCHECK(entropic::device_memory_query_count() == before)observesdevice_memory_query_countCHECK(entropic::device_memory_query_count() == at_first_ask + 1)observesdevice_memory_query_countCHECK(entropic::device_memory_query_count() == at_second)observesdevice_memory_query_countCHECK(entropic::device_memory_query_count() == before + 1)observesdevice_memory_query_count
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
gh#198: a deferred handle does not touch the device until it loads→write_not_a_model→WHEN→one_tier→device_memory_query_count→REQUIRE→initialize→ensure_modelWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 7 requirements
Its run touches their code; that is reach, not proof.
- REQ-API-012 inferred
- REQ-INFER-002 inferred
- REQ-INFER-007 inferred
- REQ-INFER-012 inferred
- REQ-INFER-019 inferred
- REQ-INFER-020 inferred
- REQ-INFER-023 inferred