{"id":17987994,"url":"https://github.com/hollance/metal-gpgpu","last_synced_at":"2026-02-24T21:31:20.836Z","repository":{"id":41158594,"uuid":"140474652","full_name":"hollance/metal-gpgpu","owner":"hollance","description":"Collection of notes on how to use Apple’s Metal API for compute tasks","archived":false,"fork":false,"pushed_at":"2018-07-10T18:50:58.000Z","size":1,"stargazers_count":107,"open_issues_count":0,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-26T14:59:52.998Z","etag":null,"topics":["deep-learning","gpgpu","gpu","gpu-programming","ios","macos","metal","objective-c","swift"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hollance.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-10T18:49:43.000Z","updated_at":"2025-09-24T15:24:29.000Z","dependencies_parsed_at":"2022-07-14T08:31:42.718Z","dependency_job_id":null,"html_url":"https://github.com/hollance/metal-gpgpu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hollance/metal-gpgpu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollance%2Fmetal-gpgpu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollance%2Fmetal-gpgpu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollance%2Fmetal-gpgpu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollance%2Fmetal-gpgpu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hollance","download_url":"https://codeload.github.com/hollance/metal-gpgpu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollance%2Fmetal-gpgpu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29801021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T21:02:39.706Z","status":"ssl_error","status_checked_at":"2026-02-24T21:02:21.834Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","gpgpu","gpu","gpu-programming","ios","macos","metal","objective-c","swift"],"created_at":"2024-10-29T19:10:20.944Z","updated_at":"2026-02-24T21:31:20.818Z","avatar_url":"https://github.com/hollance.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metal GPGPU\n\nThis is a collection of notes on how to use Apple's **Metal** API for **compute** tasks. 🤘\n\nMetal is a low-level graphics programming API for iOS and macOS but it can also be used for general-purpose compute on these devices. Unfortunately, Metal is not extensively documented. And the existing docs assume that you already know other graphics or compute APIs such as OpenGL, OpenCL, or CUDA. \n\nHopefully these notes will help you understand Metal a little better. Mostly I collected this information because my poor brain can't possibly remember all this stuff, and I thought it would be useful to turn it into a community thing.\n\n\u003e **NOTE:** This is a work-in-progress. Use these notes at your own risk -- there may be mistakes. Pull requests for corrections and enhancements are welcome!\n\n## Table of contents\n\n(coming soon)\n\n## See also\n\nThere is a lot of useful documentation inside the Metal header files. You can find these at the following locations:\n\n1. First, go to `/Applications/Xcode.app/Contents/Developer/Platforms/`\n2. Pick your platform: `iPhoneOS.platform/`, `AppleTVOS.platform/`, or `MacOSX.platform/`\n3. For the Metal standard library, go to: `usr/lib/clang/\u003cversion\u003e/include/metal`\n4. For Metal.framework, MetalKit.framework, MetalPerformanceShaders.framework, go to:   \n`Developer/SDKs/\u003cyour SDK\u003e/System/Library/Frameworks`\n\nWeb pages from Apple:\n\n- [developer.apple.com/metal](https://developer.apple.com/metal/) -- links to the official documentation, WWDC videos, and sample code\n- [Metal Shading Language Specification](https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf)\n- [Apple Developer Forums: Metal](https://forums.developer.apple.com/community/graphics-and-games/metal)\n\nOther useful websites about using Metal (mostly graphics, not so much compute):\n\n- [Metal questions on Stack Overflow](https://stackoverflow.com/questions/tagged/metal)\n- [Metal tutorials at raywenderlich.com](https://www.raywenderlich.com/tag/metal)\n- [metalkit.org](http://metalkit.org)\n- [Metal by Example](http://metalbyexample.com)\n\nWebsites and courses about GPGPU programming:\n\n- [Udacity cs344, Intro to Parallel Programming](https://udacity.com/course/intro-to-parallel-programming--cs344)\n\n## Change log\n\n#### 10 July 2018\n\nFirst version.\n\n## License\n\nThe content is licensed under the Creative Commons [Attribution-NonCommercial-ShareAlike 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhollance%2Fmetal-gpgpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhollance%2Fmetal-gpgpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhollance%2Fmetal-gpgpu/lists"}