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 113fc78 commit 55a943eCopy full SHA for 55a943e
src/host/construction.jl
@@ -19,7 +19,7 @@ function Base.fill!(A::AnyGPUArray{T}, x) where T
19
20
# ndims check for 0D support
21
kernel = fill_kernel!(get_backend(A))
22
- kernel(A, x; ndrange = ndims(A) > 0 ? size(A) : (1,))
+ kernel(A, x; ndrange = length(A))
23
A
24
end
25
0 commit comments