ArrayFire.jl
ArrayFire.jl copied to clipboard
AbstractArray methods not implemented in ArrayFire are slow
See JuliaDiffEq/DifferentialEquations.jl#199 for example.
Would it better if it fails to run instead?
Let's have an option to set fast fail. Like ArrayFire.fastfail(true) would now give you an informative error message.
GPUArrays has GPUArrays.allowslow(false). Something similar would be nice. If you could get that going I'll continue on JuliaDiffEq/DifferentialEquations.jl#199 since I am (finally) done travelling and have AF all setup.
Added allowslow:
julia> allowslow(AFArray, false)
julia> a[5]
ERROR: getindex is disabled