mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1929] [Fix] Build failure on gfx906 (Vega20 / Hygon DCU) due to missing STRATA_HIP_GFX906 guard in gr_upmix and hipblas types #763
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#763
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hheei on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1929
Environment
-DSTRATA_HIP_GFX906=ON -DCMAKE_HIP_ARCHITECTURES=gfx906Description
When building with
-DSTRATA_HIP_GFX906=ON, compilation ongfx906targets hits three issues:Unconditional WMMA / __bf16 vector kernel in
src/prefill/kernels.cu:gr_upmix_kernelunconditionally defines and compiles__bf16vector types andum_wmmaunder#if defined(__HIPCC__). Becausegfx906does not feature hardware WMMA/MFMA or__bf16vector extensions, Clang fails with:Suggested Fix: Guard the WMMA kernel with
&& !defined(STRATA_HIP_GFX906), and provide a stub/no-op fallback returningfalseearly ingr_upmix()forSTRATA_HIP_GFX906.hipBLAS data type mismatch in
include/strata/platform/hip_compat/cublas_v2.h:CUDA_R_16F/CUDA_R_32Fare defined asHIP_R_16Finstead ofHIPBLAS_R_16F. In certain HIP/ROCm/DTK releases,hipblasGemmExstrictly expectshipblasDatatype_t.Missing
cudaGraphUploadfallback ininclude/strata/platform/hip_compat/strata_hip.h:In older HIP runtimes / DTK (based on ROCm 5.7),
hipGraphUploadis not available inlibamdhip64.so. Adding an inline no-op fallback prevents link-time undefined reference errors.Diff
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.