Skip to content

Fix Vulkan driver crash from UNIMPLEMENTED query_capabilities. - #23582

Merged
benvanik merged 1 commit into
mainfrom
users/benvanik/vulkan-fix
Feb 25, 2026
Merged

benvanik merged 1 commit into
mainfrom
users/benvanik/vulkan-fix

Conversation

@benvanik

Copy link
Copy Markdown
Collaborator

#23576 added query_capabilities to the device vtable but left the Vulkan implementation as a bare UNIMPLEMENTED return. Every other driver (local_task, local_sync, HIP, CUDA, Metal, null, AMDGPU) got the correct memset + ok_status stub. The Vulkan driver was the sole holdout, which meant device group creation — now required by the HAL module — failed immediately for any Vulkan device.

This broke every Vulkan CI job, but I didn't notice because the AMD GPU runners have been flaky for months and I'd stopped reading those failures carefully. Lesson learned.

#23576 added `query_capabilities` to the device vtable but left the
Vulkan implementation as a bare `UNIMPLEMENTED` return. Every other
driver (local_task, local_sync, HIP, CUDA, Metal, null, AMDGPU) got
the correct `memset + ok_status` stub. The Vulkan driver was the sole
holdout, which meant device group creation — now required by the HAL
module — failed immediately for any Vulkan device.

This broke every Vulkan CI job, but I didn't notice because the AMD
GPU runners have been flaky for months and I'd stopped reading those
failures carefully. Lesson learned.

Co-Authored-By: Claude <[email protected]>
@benvanik
benvanik merged commit 6423b51 into main Feb 25, 2026
7 checks passed
@benvanik
benvanik deleted the users/benvanik/vulkan-fix branch February 25, 2026 20:34
kimm240 pushed a commit to kimm240/iree that referenced this pull request May 8, 2026
…e-org#23582)

iree-org#23576 added `query_capabilities` to the device vtable but left the
Vulkan implementation as a bare `UNIMPLEMENTED` return. Every other
driver (local_task, local_sync, HIP, CUDA, Metal, null, AMDGPU) got the
correct `memset + ok_status` stub. The Vulkan driver was the sole
holdout, which meant device group creation — now required by the HAL
module — failed immediately for any Vulkan device.

This broke every Vulkan CI job, but I didn't notice because the AMD GPU
runners have been flaky for months and I'd stopped reading those
failures carefully. Lesson learned.

Co-authored-by: Claude <[email protected]>
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