OpenCL mxm: align updateMinValue and updateMaxValue with GALATIC semantics

Abierto
#274 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
hpc

Línea de trabajo

Start with the OpenCL helpers in mxm_helper_functions.cl (lines 45, 52, 90, 100 and 106-145) and the tests at test_opencl_mxm_helper_functions.cpp (lines 50-60 and 147), then compare against the GALATIC reference in HelperFunctions.cuh (lines 739-786). Run the helper tests first to get a baseline. Done means the warp size is the fixed 32 contract, the num parameter is an int with an (int)i < num check, and the tests pass. The accumulator memory question (shared versus __global) needs a maintainer decision before any wiring changes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

task
  • WARP_SIZE: result is still correct (atomic_min/max is idempotent), but it breaks the agreed fixed-32 contract. Fix to internal MXM_WARP_SIZE 32. See mxm_helper_functions.cl:45,52,90,100, tests at test_opencl_mxm_helper_functions.cpp:50-60,147; GALATIC reference HelperFunctions.cuh:739-786.
  • num type: no live bug — GALATIC’s array overloads are unused; all 4 calls are scalar (acSpGEMM_SpGEMM.cuh:543-546). But uint -1 folds in all values instead of none. Use int num + (int)i < num. See HelperFunctions.cuh:740-747,774-781 vs mxm_helper_functions.cl:106-145.
  • Accumulator memory: GALATIC uses shared per block; SPLA uses __global*. Check before wiring into compute. See acSpGEMM_SpGEMM.cuh:543-552 vs mxm_helper_functions.cl:86-103.
Lenguaje dominante
C++
Estrellas
37
Forks
21
Merge medio
11 h 3 min
PR fusionados (30 d)
13

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de SparseLinearAlgebra/spla

Todos los issues de SparseLinearAlgebra/spla

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.