In this tutorial I will go over the following:
When to use the GPU for calculations over the CPU
How to write Metal Compute Kernel Functions
How multithreading with the GPU works
How Threadgroups work
The difference in time taken for the GPU vs the CPU
Why the GPU shouldn't be called the GPU.
Episode Source Code:
https://github.com/twohyjr/Metal-Game...
Resources:
Threads and Threadgroups:
https://developer.apple.com/documenta...
https://developer.apple.com/documenta...
https://developer.apple.com/documenta...
Metal Shading Language Specification:
https://developer.apple.com/metal/Met...
Become A Patron:
/ 2etime
Discord:
Join me on Discord for discussions about Metal. I am always open to talk code :)
/ discord
Affiliate Links:
Sweet Standing Desks: http://bit.ly/2XxH13m
Blender Tutorials: https://cgboost.com/?affcode=206256_a...