MPSMatrixMultiplication: Creating and Multiplying Matrices in Metal

Last Revision:
Version 2.0, 2017-08-21
Update to use iOS 11 API.
(Full Revision History)
Build Requirements:
Xcode 8.0 or later; iOS 11.0 SDK or later
Runtime Requirements:
iOS 11.0 or later

The Metal Performance Shaders Framework provides functions for performing generalized matrix multiplication. This sample illustrates how to create MPSMatrix objects and compute their product using MPSMatrixMultiplication compute kernels.