stdlib-js / stdlib-js/stdlib

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

Open
#13,689 3 comments 0 reactions 0 assignees View on GitHub
Accepted BLAS Feature JavaScript Maintainers priority: Normal RFC
Dominant language
JavaScript
Stars
6k
Forks
1.3k
Avg merge
1d 3h
Merged PRs (30d)
611

Description

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.

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.