JuliaGPU / JuliaGPU/ArrayFire.jl
Dispatch issue
- Lingua principale
- Julia
- Stelle
- 207
- Fork
- 33
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Julia dispatch issue:
Let’s say we have `AFArray <: AbstractArray{T,4}`
now there are methods that are dispatched across `AFArray` and `AFAbstractArray`
``` julia
f1 = sum{T,N}(a::AbstractArray{T<:Any, T<:Any})
f2 = sum{T}(a::AFArray{T})
```
now suppose `a` is an `AFArray`, and I call `sum(a)`, Julia should call `f2`, but doesn't.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by reproducing the reported dispatch behavior with AFArray, AbstractArray, and sum(a), then inspect the wrapper's method definitions and Julia's dispatch rules. Done means determining why the AFArray-specific method is not selected and documenting or correcting the behavior so sum(a) dispatches as intended.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia
- Ambito
- backend-api-design
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100