JuliaGPU / JuliaGPU/KernelAbstractions.jl
Offsetting kernel indices
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 523
- Forks
- 88
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 25
Description
It'd be extremely useful to have a feature for offsetting the kernel index, either at launch time or setup time.
Not sure what the best design or interface would be. @simone-silvestri and I discussed possibly embellishing StaticSize:
Our work exclusively uses statically sized kernels so I think we'd prefer a way to specify the offsets statically; eg the size and offset are simultaneously determined.
But another possibility would be to accept offsets as a kwarg similar to how ndrange is accepted for DynamicSize?
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 with src/nditeration.jl around StaticSize, as linked in the issue, and trace how kernel indices and ndrange are handled for statically sized and dynamic kernels. The issue leaves the interface undecided; done would require an agreed design that supports the requested static offsets and clarifies whether launch-time or setup-time offsets are supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- hpc
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100