Skip to content

tests: build test-hrx-host-resident (it never compiled, so the row read Not Run) - #422

Merged
bong-water-water-bong merged 1 commit into
1bit/hrx-vulkan-patchedfrom
tests/host-resident-include-paths
Nov 18, 2026
Merged

bong-water-water-bong merged 1 commit into
1bit/hrx-vulkan-patchedfrom
tests/host-resident-include-paths

Conversation

@bong-water-water-bong

Copy link
Copy Markdown

test-hrx-host-resident has never compiled, so ctest recorded it as Not Run, and the engine's ratchet counts Not Run as a failure — it has been a permanent red in engine#2761.

Two missing header dirs:

ggml/src/ggml-hrx/backend-context.h:3: fatal error: 'ggml-backend-impl.h' file not found
ggml/src/ggml-hrx/runtime/kernel-executable-cache.h:4: fatal error: 'hrx_runtime.h' file not found

because host-weight-placement.cpp is compiled by the test target with only ggml/src/ggml-hrx on the include path, while the two headers it pulls live in ggml/src and the HRX tree.

The unit still links no HRX library — residence-is-not-usage is the point of the test, and it only uses a CPU buffer.

Tested on a gfx1201 configure with HRX_SOURCE_DIR set:

./bin/test-hrx-host-resident
test-hrx-host-resident: ok (residence != usage)      # exit 0

Once this and a pin bump land in the engine, test-hrx-host-resident (Not Run) can come out of tools/ci/ctest_known_fail.txt.

…ad Not Run)

`test-hrx-host-resident` compiles `ggml/src/ggml-hrx/host-weight-placement.cpp`, which pulls
`backend-context.h` -> `ggml-backend-impl.h` (in `ggml/src`) and `kernel-executable-cache.h` ->
`hrx_runtime.h` (in the HRX tree). The target added only `ggml/src/ggml-hrx`, so it never built:

    ggml/src/ggml-hrx/backend-context.h:3: fatal error: 'ggml-backend-impl.h' file not found
    ggml/src/ggml-hrx/runtime/kernel-executable-cache.h:4: fatal error: 'hrx_runtime.h' file not found

Because nothing built it, ctest recorded `Not Run`, and the ratchet counts `Not Run` as a
failure, so ggml-org#2761 carried it as a permanent red.

Add the two header dirs. The unit still links no HRX library -- that is the point of the test
(residence is not usage), and it uses a CPU buffer only.

Tested (gfx1201 configure, HRX_SOURCE_DIR set):
  ./bin/test-hrx-host-resident -> "test-hrx-host-resident: ok (residence != usage)", exit 0
@bong-water-water-bong
bong-water-water-bong force-pushed the tests/host-resident-include-paths branch from 5cd7af9 to 1a24b7f Compare November 18, 2026 01:34
@bong-water-water-bong
bong-water-water-bong merged commit 8f43d62 into 1bit/hrx-vulkan-patched Nov 18, 2026
@bong-water-water-bong
bong-water-water-bong deleted the tests/host-resident-include-paths branch November 18, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant