﻿# llama.cpp OpenVINO GPU.N: device names, KV placement and routing correctness

Follow the OpenVINO GPU.N report from exact-name checks and KV placement to proposal history and the current pinned context-selection code, keeping tests and release claims separate.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/llama-cpp-openvino-indexed-gpu-device-context-routing-case/
Language: en

A device-name check can affect more than accelerator discovery. In a llama.cpp OpenVINO report, indexed GPU names changed which optimization and correctness guards executed. The case illustrates why finding a GPU in an inventory is weaker evidence than establishing that the model, memory context and supported-operation rules agree about its identity.

## Preserve the original two failure paths

[Issue 29235](https://github.com/ggml-org/llama.cpp/issues/29235) reports a machine with an Arc Pro B70 and integrated Intel graphics. In the reported build, requesting the unindexed GPU name could fall back to CPU. Requesting an indexed GPU.N name selected the GPU but bypassed code comparing the name with the exact unindexed string.

The reporter connected that second path to host-resident KV storage, an unused optimized attention path and operation-support guards that no longer applied. It is therefore inaccurate to summarize the whole report as merely CPU fallback. Some reported incorrect computations happened while the GPU was actually selected.

## Read performance and correctness as different evidence

The original report and [follow-up proposal](https://github.com/ggml-org/llama.cpp/pull/29304) contain different measurement campaigns. A table from the first should not be combined with later medians as though all rows came from one run. The proposal compares indexed and masked-device configurations on the same accelerator, rather than comparing two GPU products.

Its operation table also preserves unsupported cases. Restoring the intended placement of an operation on CPU can remove a GPU error without making that operation a supported GPU kernel. A summary saying every operation now passes on GPU would contradict that distinction. Correct routing and maximum offload are different goals.

## Track proposal history without inventing a merged release

The proposal discusses device-family detection, matching the underlying device and platform, and stopping after initialization failures. It was closed after incorporation into another development branch, rather than merged directly under that proposal number. The issue later records a maintainer's closure comment reporting that the work was merged.

Neither event alone identifies the first binary release containing all relevant changes. A deployment claim needs the actual source revision or package provenance. A closed ticket is useful history, but it should not become a statement that every installation with a recent-looking version is fixed.

## Inspect the implementation actually under review

The [pinned source reviewed for this article](https://github.com/ggml-org/llama.cpp/blob/61d447234482cc0807cab652d763e0fdb5f5d816/ggml/src/ggml-openvino/ggml-openvino-extra.cpp) has evolved beyond the proposal's manual UUID search. It obtains the selected device's OpenVINO context and associated OpenCL platform; an explicitly unavailable requested device aborts rather than silently selecting CPU. An omitted device still follows its own default-selection rule.

That is source inspection, not a hardware validation of every path. The [software-stack guide](/journal/software-stack-reproducibility/) and [benchmark methodology](/journal/inference-benchmark-method/) explain the adjacent reporting discipline. We executed no model or backend test. The defensible lesson is to preserve request identity, resolved context, supported-operation placement and code revision together, keeping historical failures distinct from the current implementation.

## Sources

- [Original indexed-device bug report](https://github.com/ggml-org/llama.cpp/issues/29235).
- [Follow-up proposal, author checks and closure history](https://github.com/ggml-org/llama.cpp/pull/29304).
- [Pinned current device-initialization implementation](https://github.com/ggml-org/llama.cpp/blob/61d447234482cc0807cab652d763e0fdb5f5d816/ggml/src/ggml-openvino/ggml-openvino-extra.cpp).
