We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed9d202 commit ddfb6b3Copy full SHA for ddfb6b3
src/array.jl
@@ -58,7 +58,7 @@ mutable struct MtlArray{T,N,S} <: AbstractGPUArray{T,N}
58
catch
59
throw(ArgumentError("Invalid MTL storage mode: $S. Must be one of Metal.PrivateStorage, Metal.SharedStorage or Metal.ManagedStorage."))
60
end
61
-
+
62
maxsize = prod(dims) * sizeof(T)
63
64
bufsize = if Base.isbitsunion(T)
0 commit comments