Lookup project demonstrating how to perform gpu accelerated vector addition using Swift.
This repository is a Swift port of Apple's tutorial Performing Calculations on a GPU originally written in Objective-C and serves as a personal knowledge archive.
Objective-C tutorial by Apple
https://developer.apple.com/documentation/metal/performing_calculations_on_a_gpu