GPU computing on Apple Silicon

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rust-objc

    Objective-C Runtime bindings and wrapper for Rust.

  • That looks like Objective C, not C. You can call Objective C methods from Rust via the objc crate.

  • Emu

    The write-once-run-anywhere GPGPU library for Rust

  • I also found the emu crate, which provides a CUDA-esque wrapper over wpgu. This seems pretty convenient.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • onnx-mlir

    Representation and Reference Lowering of ONNX Models in MLIR Compiler Infrastructure

  • This doesn't answer your question, but it would be cool if we had something based on MLIR for GPU compute. From what I've read, it closes the gap between NVIDIA and other GPU vendors a lot more than pure compute shaders. e.g. ONNX-MLIR, PlaidML, and IREE.

  • plaidml

    PlaidML is a framework for making deep learning work everywhere.

  • This doesn't answer your question, but it would be cool if we had something based on MLIR for GPU compute. From what I've read, it closes the gap between NVIDIA and other GPU vendors a lot more than pure compute shaders. e.g. ONNX-MLIR, PlaidML, and IREE.

  • iree

    A retargetable MLIR-based machine learning compiler and runtime toolkit.

  • This doesn't answer your question, but it would be cool if we had something based on MLIR for GPU compute. From what I've read, it closes the gap between NVIDIA and other GPU vendors a lot more than pure compute shaders. e.g. ONNX-MLIR, PlaidML, and IREE.

  • rust-gpu

    🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

  • Now, I wish I could recommend Rust itself as a shading language, but https://github.com/EmbarkStudios/rust-gpu is still in its infancy.

  • transmission-renderer

    A high-performance renderer to render glTF models that use the `KHR_materials_transmission` and `KHR_materials_volume` extensions.

  • IMO rust-gpu is a fair bit further along than people seem to believe. It does have some areas that need work but you can write some fairly advanced things in it: https://github.com/expenses/transmission-renderer

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts