Prune redundant workgroup barriers, eliminate integer division in LM_ADDR, and streamline computeSpGemmPart

Đang mở
#297 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
backend, performance

Hướng nghiên cứu

Read mxm_compute_spgemm_part.cl around lines 802–876 and trace the barriers through the surrounding while-loop. Then inspect spla/src/opencl/kernels/common_def.cl and relevant headers for LM_ADDR; review the affected kernels and tests for synchronization and address-calculation behavior. Done means redundant barriers are removed, LM_ADDR uses the specified shift, and relevant tests pass.

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

Mô tả

task

Now you need to prune redundant workgroup barriers, eliminate integer division in local memory padding, and streamline hot-loop execution in computeSpGemmPart. e.g. mxm_compute_spgemm_part.cl:
• Lines 802–810: Back-to-back barriers around thread 0 bit-width calculation (key_col_bits, key_row_bits).
• Lines 832, 843, 860, 876: Clustered barriers during row-count staging and chunk boundary decisions.
• Audit remaining barriers across the while-loop to eliminate redundant synchronization points.
• spla/src/opencl/kernels/common_def.cl (and relevant headers):
• Macro LM_ADDR(address): replace integer division / LM_NUM_MEM_BANKS with bit shift >> 5u.

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.