Microsoft highlighted how WinML APIs can be used in games to improve the look of the game and it’s performance.
WinML stands for Windows Machine Learning. At GDC 2018, Microsoft announced how this API can be used in games to improve visual effects of the game and it’s performance. Developers can use pre-trained machine learning in their apps and games to greatly improve the performance. It is because of this that Microsoft has released DircetML, built on Direct3D.
DirectML is built on top of Direct3D because D3D (and graphics processors) are very good for matrix math, which is used as the basis of all DNN models and evaluations. In the same way that High Level Shader Language (HLSL) is used to execute graphics rendering algorithms, HLSL can also be used to describe parallel algorithms of matrix math that represent the operators used during inference on a DNN. When executed, this HLSL code receives all the benefits of running in parallel on the GPU, making inference run extremely efficiently, just like a graphics application.