Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Missing batch/BF16 entries in export generators and public headers

クローズ
#6,113 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #6118 @martin-frbg による — マージ済み

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c, perl, shell
領域
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenMathLib/OpenBLAS のほかの issue

OpenMathLib/OpenBLAS の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。