JuliaGPU / JuliaGPU/KernelAbstractions.jl
Support `OrdinalRange`s in `ndrange` argument
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 523
- Forks
- 88
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 25
Description
I think it'd be nice if one could specify e.g.
kernel(u, v, ndrange=(2:2:size(u, 1), 2:2:size(u,2)))
to get kernel indices that don't necessarily start at 1 or iterate in unit steps. This'd also fit better with the name ndrange
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 by locating the existing handling of the ndrange argument and how kernel indices are generated. Verify the behavior with ranges such as 2:2:size(u, 1) and 2:2:size(u, 2); done means OrdinalRanges are accepted and produce indices with the requested starts and steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- hpc
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100