We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 811e0f7 commit bf835b6Copy full SHA for bf835b6
src/cpu.jl
@@ -1,7 +1,7 @@
1
unsafe_free!(::AbstractArray) = return
2
synchronize(::CPU) = nothing
3
4
-allocate(::CPU, ::Type{T}, dims::Tuple; unified::Bool=false) where {T} = Array{T}(undef, dims)
+allocate(::CPU, ::Type{T}, dims::Tuple; unified::Bool = false) where {T} = Array{T}(undef, dims)
5
6
function zeros(backend::CPU, ::Type{T}, dims::Tuple; kwargs...) where {T}
7
arr = allocate(backend, T, dims; kwargs...)
0 commit comments