Missing batch/BF16 entries in export generators and public headers
維護者通常 1 天內回覆
已經有一個關聯 PR 被合併了。
- #6118 來自 @martin-frbg —— 已合併
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 55/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 領域
- api, build-system
研究方向
Start by comparing the names in the Make interface rules with the lists in exports/gensymbol and exports/gensymbol.pl, then run the example command from the issue to see the current output. The header gaps are in cblas.h and common_interface.h. Done means both generators emit the missing batch and BF16 names in the osx, win2k and objcopy modes, and the headers declare them. Native Windows and macOS link checks are not required.
由索引模型根據 Issue 內容生成。
描述
At develop b366de2d66111344cd867576810ad71651674b9e, I found several mismatches between the interface build rules and the export/header lists.
The names below are base API names before platform decoration or a configured prefix/suffix. For the batch families, ? means s/d/c/z, plus sb when BUILD_BFLOAT16=1.
| Interface names present in the Make build rules | exports/gensymbol |
exports/gensymbol.pl |
|---|---|---|
Fortran-style ?gemm_batch and ?gemm_batch_strided |
Missing | Missing |
cblas_?gemm_batch_strided |
Missing | Missing |
bscal, cblas_bscal (BF16) |
Missing | Missing |
cblas_sbgemmt, cblas_sbgemmtr (BF16) |
Missing | Present |
Both generators already list the non-strided cblas_?gemm_batch forms and the Fortran-style sbgemmt/sbgemmtr forms.
I reproduced these list differences by running both generators in osx, win2k, and objcopy modes with the relevant precisions enabled. For example:
sh exports/gensymbol osx arm64 _ 0 0 1 1 0 0 "" "" 0 1 0 1 1 1 1
These lists feed the Make build's Windows export definitions, macOS exported-symbol list, and symbol-renaming maps. Windows also uses dllexport, so actual link behavior depends on the build path; I have not run a native Windows/macOS link test.
There are related declaration gaps: cblas.h has no prototypes for cblas_bscal, cblas_sbgemmt, or cblas_sbgemmtr; common_interface.h (used to generate f77blas.h) has no declarations for the Fortran-style batch forms or sbgemmt/sbgemmtr. The batch implementations came through #5449 and #5458, which did not update those export lists or common_interface.h.
Found with AI assistance.
- 主要語言
- C
- 星號
- 7.6k
- 分支
- 1.7k
- 平均合併
- 1 天 18 小時
- 30 天內合併 PR
- 46
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
OpenMathLib/OpenBLAS 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
OpenMathLib/OpenBLAS#6152 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 28/100
OpenMathLib/OpenBLAS#6151 · 2 則留言 ·
維護者通常 1 天內回覆
-
VORTEXM4: s2_usable() runs RDSVL before the SME2 check (SIGILL without SME)可能已有人在做 @tesch1 於 2 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 25/100
OpenMathLib/OpenBLAS#6150 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 35/100
OpenMathLib/OpenBLAS#6149 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 43/100
OpenMathLib/OpenBLAS#6148 ·
維護者通常 1 天內回覆
查看 OpenMathLib/OpenBLAS 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 83/100
nextbsd/nextbsd-userland#434 ·
維護者通常 1 天內回覆
-
[YSQL] Local-node initdb reads postgres.bki, but YB clusters bootstrap only from yb_postgres.bki未關閉area/ysql kind/enhancement priority/low status/awaiting-triage
難度 2/5 1-3 小時 新手友好度 72/100
yugabyte/yugabyte-db#35763 ·
維護者通常 1 天內回覆
-
category:port-update
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 2 天內回覆
-
emerge failure MARK mark-unstable media-kit
難度 2/5 1-3 小時 新手友好度 82/100
macaroni-os/mark-issues#834 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 則留言 ·
維護者通常 1 天內回覆