Hi!
I’m happy to announce the metal
package with bindings to the Metal framework, with a relatively broad coverage except it does not cover anything graphics or UI related.
- Hosted on GitHub: lukstafi/ocaml-metal: OCaml bindings to Apple Metal for general compute applications
- API documentation: Metal (metal.Metal)
- Released to the repository: metal 0.1.0 (latest) · OCaml Package
- Example usage: ocannl/arrayjit/lib/metal_backend.ml at master · ahrefs/ocannl
Enjoy!
P.S. Disclaimer: code contains AI slop (and likely also my own errors). It’s my first major employment of / “collaboration” with Large Language Models and I leaned into accepting choices made by the models.