JuliaGPU / JuliaGPU/KernelAbstractions.jl
`get_backend` support for `MVector`
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 523
- Forks
- 88
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 25
Description
This fails right now:
julia> using KernelAbstractions, StaticArrays
julia> get_backend(MVector(1,2,3))
ERROR: ArgumentError: Implement `KernelAbstractions.get_backend(::MVector{3, Int64})`
Stacktrace:
[1] get_backend(A::MVector{3, Int64})
@ KernelAbstractions ~/.julia/packages/KernelAbstractions/C3nYQ/src/KernelAbstractions.jl:522
[2] top-level scope
@ REPL[6]:1
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 at src/KernelAbstractions.jl:522 and inspect the get_backend entry point and its handling of array-like arguments. Reproduce the MVector example from the issue, then verify that get_backend(MVector(1,2,3)) succeeds without the current ArgumentError.
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