Missing batch/BF16 entries in export generators and public headers
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
- #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日 17時間
- マージ済み PR(30日)
- 47
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenMathLib/OpenBLAS のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
OpenMathLib/OpenBLAS#6152 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
OpenMathLib/OpenBLAS#6151 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
VORTEXM4: s2_usable() runs RDSVL before the SME2 check (SIGILL without SME)対応中かも @tesch1 が 3 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
OpenMathLib/OpenBLAS#6150 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
OpenMathLib/OpenBLAS#6149 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
OpenMathLib/OpenBLAS#6148 ·
メンテナーはふだん 1 日以内に返信
OpenMathLib/OpenBLAS の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
Lakr233/vphone-cli#743 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
libsdl-org/SDL#16584 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
FriendsofECCE/ECCE#519 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
containers/crun#2415 ·
メンテナーはふだん 1 日以内に返信