Remix.run Logo
nnevatie 2 hours ago

I found this a weird article.

If you wish to see some speedups using AVX512, without limiting yourself to C or C++, you might want to try ISPC (https://ispc.github.io/index.html).

You'll get sane aliasing rules from the perspective of performance, multi-target binaries with dynamic dispatching and a lot more control over the code generated.

theowaway 27 minutes ago | parent | next [-]

ispc is something that deserves to be much more widely known about- it does an excellent job of bringing the cuda programming model to cpus

majke 2 hours ago | parent | prev [-]

Ispc looks interesting. Does it work with amd? They hint on gpu’s , i guess mostly intel ones?

dataking an hour ago | parent [-]

Yes, it works with AMD CPUs as well as various ARM ones, e.g. Apple silicon.

See for instance https://github.com/ispc/ispc/pull/2160