Skip to content

qwen4 host test: run #1739's merge body (main's zig CI) - #1935

Merged
ashhart merged 1 commit into
mainfrom
lead/fix-1739-merge-body
Nov 2, 2026
Merged

ashhart merged 1 commit into
mainfrom
lead/fix-1739-merge-body

Conversation

@ashhart

@ashhart ashhart commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Main's zig CI has been red since #1739 landed (9bb51cd).

#1739 moved fn_attn_merge's loop into fn_attn_merge_body. The Qwen4 CUDA attention host instrument extracted only the kernel, so the generated qwen4_cuda_attention_host.cpp failed with use of undeclared identifier 'fn_attn_merge_body'. That broke test-qwen4-host, test-qwen4-gdn-host and test-qwen4-projection-bodies.

This change also extracts the body, as inline host code, ahead of the kernel.

Checked locally: all three steps pass, there are no new lean problems, and fmt is clean.

#1739 moved fn_attn_merge's loop into fn_attn_merge_body, which the kernel
calls; the Qwen4 CUDA attention host instrument extracted only the kernel, so
test-qwen4-host, test-qwen4-gdn-host and test-qwen4-projection-bodies stopped
compiling. Extract the body too, as inline host code.
@ashhart
ashhart merged commit 72784e2 into main Nov 2, 2026
15 checks passed
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