diff --git a/lib/mps/matrixrandom.jl b/lib/mps/matrixrandom.jl index bd0e602bd..f166159de 100644 --- a/lib/mps/matrixrandom.jl +++ b/lib/mps/matrixrandom.jl @@ -106,7 +106,7 @@ for R in [:MPSMatrixRandomMTGP32, :MPSMatrixRandomPhilox] end end -synchronizeStateOnCommandBuffer(kern::MPSMatrixRandomMTGP32, cmdbuf::MTLCommandBuffer) = +synchronize_state(kern::MPSMatrixRandomMTGP32, cmdbuf::MTLCommandBuffer) = @objc [obj::id{MPSMatrixRandomMTGP32} synchronizeStateOnCommandBuffer:cmdbuf::id{MTLCommandBuffer}]::Nothing diff --git a/test/mps/copy.jl b/test/mps/copy.jl index 0a7bef801..3c3f2ea15 100644 --- a/test/mps/copy.jl +++ b/test/mps/copy.jl @@ -33,7 +33,6 @@ end Ts = Ts[.!(Ts .<: IGNORE_UNION)] @testset "$T" for T in Ts for dim in ((16,16), (10,500), (500,10), (256,512)) - srcMat = MtlArray(rand(T, dim)) dstMat = copytest(srcMat, false, false)