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

Aberta
#286 3 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
38/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
cpp
Domínio
performance

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
C++
Estrelas
37
Forks
21
Merge médio
11h 3min
PRs com merge (30d)
13

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de SparseLinearAlgebra/spla

Todas as issues de SparseLinearAlgebra/spla

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.