Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gereduce #211

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Add gereduce #211

wants to merge 13 commits into from

Conversation

mgates3
Copy link
Collaborator

@mgates3 mgates3 commented Jan 14, 2025

Pulling over an old PR from Bitbucket. See https://bitbucket.org/icl/slate-dev/pull-requests/195

Context

Dalal Sukkari is improving unmqr which needs a gereduce operation.

She added it but in order to have simpler PRs, I extracted her work that is only related to gereduce and created this branch.

This has been checked through unit test (test_geadd) that will be in a separate PR.

Idea

The idea of gereduce is to have a matrix A where the tiles of each block column are reduced into a tile of a matrix B such that:

B[0, j] = (\sum_{i = 0:mt-1} \alpha A[i, j]) + \beta B[0, j], for j = 0:nt-1

where A has mt block rows and nt block columns, and B is of dimension 1 x nt.

Modification

  • Add first version of reduce
  • Rename reduce into gereduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants