Default to `Int32` indices as much as possible
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 344
- Forks
- 79
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 25
Description
Replacing Int64 indices with Int32 in the mapreduce kernel significantly reduces register usage:
- before:
.sgpr_count: 84
.vgpr_count: 62
- after:
.sgpr_count: 50
.vgpr_count: 51
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/mapreduce.jl around the linked kernel and trace the index types used by the mapreduce implementation. Identify where Int64 indices can be replaced with Int32 without changing behavior, then inspect the generated kernel register counts to verify that the change reduces register usage as shown in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100