JuliaGPU / JuliaGPU/ArrayFire.jl

Dispatch issue

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
207
Forks
33
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.