OpenCL mxm: fix computeSpgemmPart OOM, case bits and restart descriptors

Ouverte
#286 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
38/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
cpp
Domaine
performance

Piste de recherche

Start by reading spla/AGENTS.md and Algorithm Semantics.md, then locate compute_spgemm_part in the spla implementation. Compare the referenced GALATIC sources and inspect relevant CUB primitives before changing the pool-failure flag, ordinary-case overlap bits, and split/restart descriptor behavior. Done means all three reported mistakes are fixed while preserving the specified semantics and spla architecture.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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:
- Direct pool OOM: missing run_flag |= CHUNK_FAIL_POOL.

  • Ordinary case bits: wrongly derived from expected_row_overlap[].
  • Split/restart: simplified predicate; no maxBrokenChunkRow + 1 descriptor. 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.
Langage dominant
C++
Étoiles
37
Forks
21
Merge moyen
11 h 3 min
PR mergées (30 j)
13

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de SparseLinearAlgebra/spla

Toutes les issues de SparseLinearAlgebra/spla

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.