check and fix this mistakes on compute_spgemm_part

Aberta
#287 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
45/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 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.

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:
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.
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.