stdlib-js / stdlib-js/stdlib

[RFC]: add `blas/ext/base/gfill-columns`

Đang mở
#13,689 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Accepted BLAS Feature JavaScript Maintainers priority: Normal RFC
Ngôn ngữ chính
JavaScript
Star
6k
Fork
1.3k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
611

Mô tả

TODO: sthg like `gfillColumns.ndarray( M, N, alpha, strideA, offsetA, x, strideX1, strideX2, offsetX )` where `alpha` is a strided array of fill values. This would allow filling individual columns separately. Why not a loop over `gfill`? Because, for row-major, instead of filling columns one-by-one, one iterates across the rows and repeatedly cycles over `alpha` for better cache usage.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by reviewing the proposed gfillColumns.ndarray signature and comparing it with the existing gfill implementation and BLAS extension conventions. Determine the appropriate entry point and tests for a strided, per-column fill, then define completion as working behavior for the stated row-major cache-friendly case and coverage of the relevant layouts and offsets.

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

Đánh giá

Công nghệ
javascript
Lĩnh vực
backend, performance
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

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.