We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddfb6b3 commit 60d4cb7Copy full SHA for 60d4cb7
test/array.jl
@@ -61,6 +61,8 @@ end
61
@test_throws "Metal does not support Int128 values" MtlArray(Int128[1])
62
@test_throws "Metal does not support UInt128 values" MtlArray(UInt128[1])
63
64
+ @test_throws "Invalid MTL storage mode" MtlArray{Int,1,2}(undef, 2)
65
+
66
@test collect(Metal.zeros(2, 2)) == zeros(Float32, 2, 2)
67
@test collect(Metal.ones(2, 2)) == ones(Float32, 2, 2)
68
0 commit comments