Hacker News new | ask | show | jobs
by WoodenChair 2899 days ago
Sure, if the compiler can find optimizations by inserting vector instructions, it will. But, typically you'll want to specifically format your code using matrices/a library like BLAS to maximize performance and use as many vector instructions as possible.