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

Aperta
#286 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
performance

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
C++
Stelle
37
Fork
21
Merge medio
11h 3m
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SparseLinearAlgebra/spla

Tutte le issue di SparseLinearAlgebra/spla

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.