JuliaGPU / JuliaGPU/KernelAbstractions.jl

Support `OrdinalRange`s in `ndrange` argument

Open
#603 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.