gh#198: a deferred handle holds no GPU memory until it runs

Tests › tests/model/test_gh198_idle_device.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/model/test_gh198_idle_device.cpp:62 · its file's page

What it checks (4)

  1. REQUIRE(h != nullptr) not attributed
  2. CHECK(this_process_gpu_mib() == 0) observes this_process_gpu_mib
  3. REQUIRE(entropic_run(h, "Say hello.", &out) == ENTROPIC_OK) observes entropic_run
  4. CHECK(this_process_gpu_mib() > 0) observes this_process_gpu_mib

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 holds no GPU memory until it runs→model_gguf→this_process_gpu_mib→setup→setup_failure→REQUIRE→WHEN→entropic_run→entropic_run→entropic_free→entropic_free

What 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.

gh#198: a deferred handle holds no GPU memory until it runs · 4 checksentropic_freeREQ-ABI-001 · inferredentropic_runREQ-ABI-002 · inferredentropic_runREQ-API-002 · inferredsetupentropic_createREQ-API-003 · inferredsetupentropic_configure_dirREQ-API-004 · inferredentropic_runREQ-API-005 · inferredentropic_runREQ-API-008 · inferredentropic_runREQ-API-009 · inferredentropic_runREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredsetup… 3 calls …init_orchestratorREQ-API-013 · inferredsetup… 3 calls …start_http_listenerREQ-BRIDGE-001 · inferred

and 65 more requirement paths, listed below.

Also reaches 79 requirements

Its run touches their code; that is reach, not proof.