Repository navigation
atlas-kernels: map __floats2bfloat162_rn for HIP builds - #434
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
__floats2bfloat162_rn.mainonly calls it in gb10-guarded code, but Inkling 2: prefill kernels — tensor-core bias, per-head flash attention, fused norms, gates and gate_up epilogue (3/4, stacked on 2/4) #432 (Inkling 2 prefill kernels) calls it in kernels that are symlinked intokernels/strix-hip/inkling-2-mini/nvfp4/(inkling2_block_res.cu:365first, plusinkling2_flash_prefill.cuandinkling2_moe_prefill.cu). With Inkling 2: prefill kernels — tensor-core bias, per-head flash attention, fused norms, gates and gate_up epilogue (3/4, stacked on 2/4) #432 on top, the strix-hip build stops athipcc --genco(DevLab run 46146942632).crates/atlas-kernels/hip/compat/cuda_bf16.has two round-to-nearest__float2bfloat16conversions packed into.x/.y. That is the arithmetic of the CUDA builtin, and the idiom ofstore_bf16_pairinkernels/strix-hip/qwen3.6-27b/nvfp4/w4a16_gemm.cu.ATLAS_HIP_COMPAT_INCLUDE), so nvcc never reads this file and no gb10 artifact changes.mainkeeps building on strix-hip at every merge commit.Test plan
main+ Inkling 2: Spark projections on the row-invariant tensor-core kernels (2/4, stacked on 1/4) #431 + Inkling 2: prefill kernels — tensor-core bias, per-head flash attention, fused norms, gates and gate_up epilogue (3/4, stacked on 2/4) #432 + this commit: strix-hip build (all models) green on DevLab (run 46148364162), and all 134 inkling-2-mini kernels compile on a local Strix Halo.Generated with Devin