Hacker News new | ask | show | jobs
by saboot 1386 days ago
Not too bad, I do scientific computing and choose Intel/Nvidia as their APIs for accelerated math operations are documented and supported for developers.

I've been paying attention to what Apple has been pushing with their M1/M2 chips, and I'm pretty tempted to try it out, but unless these features are documented and supported I can't feel comfortable writing programs relying on them.

2 comments

The API apple wants you to use is documented and presumably is here to stay.

That doesn't help if there's some edge case you'd need access to the raw ISA but still.

Also, BLAS is part of that interface (https://developer.apple.com/documentation/accelerate/blas)

Of course it is a black box in that you can’t (realistically) try and speed it up. You still run the risk of Apple’s priorities being different from yours.

OTOH the interfaces are standard. Using Accelerate instead of the standard BLAS is just a compiler switch.
They are not supported directly, but you can ue them through the Accelerate framework, which has an optimised BLAS and FFT implementations (amongst many other things).