JuliaGPU / JuliaGPU/KernelAbstractions.jl
specify ngroups as alternative to ndrange
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 523
- Forks
- 88
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 25
Description
The ClimateMachine kernels often specify the ndrange as an integer multiple of the workgroup, e.g.:
https://github.com/CliMA/ClimateMachine.jl/blob/feacd0238343cdf268ae660e56b301f487689efc/src/Numerics/DGMethods/DGModel.jl#L1241-L1242
In this case, it would be simpler to be able to specify something like ngroups=info.nrealelem
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 the ndrange handling used by the kernel API and compare it with the referenced src/Numerics/DGMethods/DGModel.jl lines 1241-1242. The work is complete when callers can specify ngroups=info.nrealelem as an alternative to an integer-multiple ndrange.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100