Hacker News new | ask | show | jobs
by my123 1493 days ago
Apple doesn't have a separate API tailored towards compute only, but a single unified API that makes concessions to both.

Concessions towards compute: a C++ programming language for device code (totally unlike what's done for most graphics APIs!)

Concessions towards graphics: no single-source programming model at all for example...

1 comments

Many GPUs allow you to write device code in C++ via SYCL. It works well enough.