@@ -49,7 +49,7 @@ LinearAlgebra.generic_matmatmul!(C::MtlMatrix, tA, tB, A::MtlMatrix, B::MtlMatri
4949 # If possible, dispatch to MPSGraphs, then performance shaders
5050 if supports_mpsgraph_matmul(A, B, C, MPSGRAPH_VALID_MATMUL_TYPES)
5151 graph_matmul!(C, A, B, alpha, beta, transA, transB)
52- elseif supports_mps_matmul(A, B, C, MPS_VALID_MATMUL_TYPES)
52+ elseif supports_mps_matmul(A, B, C, MPS_VALID_MATMUL_TYPES) # TODO : Remove once contiguous views are working
5353 matmul!(C, A, B, alpha, beta, transA, transB)
5454 else
5555 GPUArrays. generic_matmatmul!(C, wrap(A, tA), wrap(B, tB), alpha, beta)
@@ -84,7 +84,7 @@ LinearAlgebra.generic_matvecmul!(C::MtlVector, tA::AbstractChar, A::MtlMatrix, B
8484 # If possible, dispatch to MPSGraphs, then performance shaders
8585 if supports_mpsgraph_matmul(A, B, C, MPSGRAPH_VALID_MATVECMUL_TYPES)
8686 graph_matvecmul!(C, A, B, alpha, beta, transA)
87- elseif supports_mps_matmul(A, B, C, MPS_VALID_MATVECMUL_TYPES)
87+ elseif supports_mps_matmul(A, B, C, MPS_VALID_MATVECMUL_TYPES) # TODO : Remove once contiguous views are working
8888 matvecmul!(C, A, B, alpha, beta, transA)
8989 else
9090 GPUArrays. generic_matmatmul!(C, wrap(A, tA), B, alpha, beta)
0 commit comments