Optimize spla_mxm_compute_spgemm_part_kernel local memory, barriers, and atomics
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tái cấu trúc
- Độ 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
Read src/opencl/kernels/mxm_compute_spgemm_part.cl and src/opencl/cl_mxm_compute_spgemm_part.hpp, then inspect generate.py and the generated auto_mxm_compute_spgemm_part.hpp. Trace the kernel’s chunk row/count boundaries, especially emit_start + num - 1, before changing its memory use, synchronization, and atomics. Done means the requested optimizations are implemented, the generated header is refreshed, and the exact boundary semantics are preserved.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Refactor spla_mxm_compute_spgemm_part_kernel in src/opencl/kernels/mxm_compute_spgemm_part.cl, fix compute_spgemm_part_local_memory_bytes in src/opencl/cl_mxm_compute_spgemm_part.hpp, and regenerate auto_mxm_compute_spgemm_part.hpp via generate.py while preserving spla's exact chunk row/count boundary semantics (emit_start + num - 1): (1) remove CspTempMem::emit 5 staged_* arrays (break_positions, scan, staged_row_ids/col_ids/values/counts/row_ends) and write directly from register entries[i] to comb.current streaming chunks in CSP_TEMP_ITEMS_PER_BLOCK batches, and fix current_row_slots in cl_mxm_compute_spgemm_part.hpp to use threads * retain_elements_per_thread; (2) skip direct_scan/nondirect_scan + temp.setup.compact when direct_chunk_rows == 0; (3) use subgroup reductions instead of 4x per-thread local atomic_min/atomic_max and atomic_or for split_mode; (4) replace CSP_CONSUME_WORK local atomic_add + barrier with thread-0 update, replace csp_emit_chunk_range thread-0 linear scans for first_count/last_count, guard atomic_or(run_flags, status_mask) on status_mask != 0, and remove redundant init barriers (L516, L745-751).
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SparseLinearAlgebra/spla
-
task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
SparseLinearAlgebra/spla#316 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
task
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
SparseLinearAlgebra/spla#249 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
task
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
SparseLinearAlgebra/spla#315 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
task
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
SparseLinearAlgebra/spla#314 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Optimize compute_spgemm_part chunk flushes, atomics, radix sort, SLM, restrict, and subgroup shuffleĐang mởtask
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
SparseLinearAlgebra/spla#313 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SparseLinearAlgebra/spla
Issue tương tự
-
[Bug]: pip install -U cudaq-qec fails with a conflict that names cudaq-qec itselfCó thể đã có người làm @fedonman đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gofractally/psibase#2379 ·
Maintainer thường phản hồi trong vòng 3 ngày