Fix SORT_TYPE_MODE == 1 row bit-width clamp in compute_spgemm_part_sort_type_mode and csp_row_bits

Abierto
#305 2 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
56/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cpp
Área
performance

Línea de trabajo

Start in src/opencl/cl_mxm_compute_spgemm_part.hpp and read compute_spgemm_part_sort_type_mode and csp_row_bits, tracing how the row bit width is calculated and where AROW_REFERENCE_TYPE storage size is enforced. Compare the behavior with GALATIC as described in the issue. Done when the local row bit width is used for sort mode selection while the 16-bit minimum remains only for storage, allowing eligible column counts to use 32-bit sort keys.

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

Descripción

task

Problem: compute_spgemm_part_sort_type_mode and csp_row_bits in src/opencl/cl_mxm_compute_spgemm_part.hpp artificially clamp SORT_TYPE_MODE == 1 encoded row bit-width to std::max(16u, csp_bit_width(block_size)) (16 bits instead of the actual ~8–9 bits needed for local row IDs), forcing matrices with cols >= 65536 to fall back to SORT_TYPE_MODE == 2 (64-bit ulong sort keys). Fix compute_spgemm_part_sort_type_mode and csp_row_bits to use the actual local row bit-width (keeping 16u only as the minimum storage size of AROW_REFERENCE_TYPE), matching GALATIC so cols up to 2^(32 - row_bits) stay on 32-bit SORT_TYPE_MODE == 1.

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.