check and fix this mistakes on compute_spgemm_part

オープン
#287 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
performance

調査の方向性

Start by reading spla/AGENTS.md and Algorithm Semantics.md, then inspect the implementation of compute_spgemm_part and the GALATIC references it provides. Check row guards, dynamic key-bit handling, status_mask ordering, and how pointer_mask is currently used; consult cub/ when an equivalent primitive is unclear. Done means the reported mistakes are corrected without removing behavior that is still required, with relevant tests or builds passing.

索引モデルが issue の本文から書いたものです。

説明

task

You are porting step by step the multiplication algorithm from GALATIC and integrating it into the spla library, following spla architecture. Its semantics are given to you. The "HOW" of implementing it is in the GALATIC sources (links to the specific ones are in Algorithm Sematics.md). Read spla/AGENTS.md, then Algorithm Semantics.md. Right now you need to check and fix this mistakes on compute_spgemm_part:
Row bounds: rows unused; no rid < rows guard.

  • Key bits: fixed/matrix-wide, not dynamic per iteration.
  • status_mask: ORed after runflag was read.
  • pointer_mask: unused. Simplifying the implementation without a reason is not allowed. If you have doubts, uncertainty, or ambiguity, ask immediately. If you see are cub primitives,which don't have a direct OpenCL or spla direct analog, you need to observe how they work(in cub/), so that you don’t end up writing a naive or inefficient implementation.
主要言語
C++
スター
37
フォーク
21
平均マージ
11時間 3分
マージ済み PR(30日)
13

環境構築

はじめの一歩

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

SparseLinearAlgebra/spla のほかの issue

SparseLinearAlgebra/spla の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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