Skip to content

Commit 4417021

Browse files
committed
Fixes
1 parent 2ae1075 commit 4417021

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/KernelAbstractions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ end
578578
Returns whether unified memory arrays are supported by the backend.
579579
580580
!!! note
581-
Backend implementations **should** implement this function
581+
Backend implementations **must** implement this function
582582
only if they **do** support unified memory.
583583
"""
584584
supports_unified(::Backend) = false

src/cpu.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
synchronize(::CPU) = nothing
22

3-
allocate(::CPU, ::Type{T}, dims::Tupl; unified::Bool=false) where {T} = Array{T}(undef, dims)
3+
allocate(::CPU, ::Type{T}, dims::Tuple; unified::Bool=false) where {T} = Array{T}(undef, dims)
44

55
function zeros(backend::CPU, ::Type{T}, dims::Tuple; kwargs...) where {T}
66
arr = allocate(backend, T, dims; kwargs...)

0 commit comments

Comments
 (0)