https://github.com/say4n/metal.compute
a verbose example on using metal with C++ to perform arbitrary compute on GPUs
https://github.com/say4n/metal.compute
apple apple-metal apple-silicon gpu-computing mac macos metal metal-cpp
Last synced: 9 months ago
JSON representation
a verbose example on using metal with C++ to perform arbitrary compute on GPUs
- Host: GitHub
- URL: https://github.com/say4n/metal.compute
- Owner: say4n
- License: gpl-3.0
- Created: 2021-12-28T20:43:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-29T13:24:52.000Z (over 4 years ago)
- Last Synced: 2025-09-03T08:45:30.222Z (9 months ago)
- Topics: apple, apple-metal, apple-silicon, gpu-computing, mac, macos, metal, metal-cpp
- Language: C++
- Homepage:
- Size: 23.4 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# metal.compute
a verbose example showcasing the use of Apple's Metal API in C++ via [`metal-cpp`](https://github.com/bkaradzic/metal-cpp) to perform arbitrary compute on GPUs
[](https://sayan.page/metal-for-compute/)
[](https://sayan.page/metal-for-compute/)
## why
this repository exists as a C++ port of [Apple's guide](https://developer.apple.com/documentation/metal/basic_tasks_and_concepts/performing_calculations_on_a_gpu) to using Metal to perform computation on a GPU.
please follow the accompanying [blog post](https://blog.sayan.page/metal-for-compute/) for an explanation of the various components
of the codebase.
## author
Sayan Goswami © 2021