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

Đang mở
#305 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
37
Fork
21
Merge trung bình
11 giờ 3 phút
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SparseLinearAlgebra/spla

Tất cả issue của SparseLinearAlgebra/spla

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.