News for hackers. Stuff that matters.
Re:AVX 512 will be the future by convolvatron on Monday November 28, 2022 @12:08PM (#33776200)
or we can finally starting looking into languages with implicit fine grained parallelism and run on whatever
Re:AVX 512 will be the future by Kon-Peki on Monday November 28, 2022 @12:30PM (#33776498)
I support that effort. In the meantime, we have to do what we have to do. I'm presently in the process of optimizing some stuff and comparing the improvements of SIMD vs GPU on both ARM and x86 (this isn't that impressive, it's some basic loop vectorization). But just as Linus writes in that post, getting the compiler to do well seems impossible.

I'm measuring performance improvement and energy consumption reduction. The results are incredible. We really have to do this stuff. But it's complicated and the documentation is generally awful. So yes, a new language that deals with all of this would be very, very welcome :)

Re:AVX 512 will be the future by goalieca on Monday November 28, 2022 @12:19PM (#33776359)
We have had that for 15+ years even in C with fine grained looping like OpenMP. It’s terribly inefficient to communicate across threads. Sometimes you just need SIMD
Re:AVX 512 will be the future by gpderetta on Monday November 28, 2022 @01:32PM (#33777527)
OMP is supposed to support SIMD/GPU offloading theses days. Not sure how good it is though.
Re:AVX 512 will be the future by convolvatron on Monday November 28, 2022 @03:33PM (#33779179)
oh, sorry. I grew up on the connection machine. in that era we did have implicit SIMD languages and I thought they were great
Re:AVX 512 will be the future by anonymoushn on Monday November 28, 2022 @12:19PM (#33776350)
This won't help, most uses of AVX or NEON have nothing to do with parallel processing of a bunch of numbers
Re:AVX 512 will be the future by gpderetta on Monday November 28, 2022 @01:13PM (#33777199)
... like intel ISPC.

Spoiler alert: it is a C dialect.

Re:AVX 512 will be the future by xgkickt on Tuesday November 29, 2022 @11:34AM (#33789689)
Or HLSL. Can use ISPC as an intermediary language.
Re:AVX 512 will be the future by MisterTea on Monday November 28, 2022 @01:28PM (#33777456)
How will these languages emit machine code for every variant of GPU/CPU/DSP/Vector/FPGA/whatever architecture they might run on? This isn't as simple as it sounds.
Re:AVX 512 will be the future by convolvatron on Monday November 28, 2022 @03:35PM (#33779197)
no, these are really big and interesting back ends. still, socially, that has to be better than _everyone_ breaking out the datasheets...if they even have those anymore
Re:AVX 512 will be the future by pbalcer on Tuesday November 29, 2022 @03:51AM (#33785174)
The host binary will include intermediate representation of the compute code to be compiled by the device driver. This already exists, see SYCL + SPIR-V. Intel's oneAPI is one implementation of this approach.
Re:AVX 512 will be the future by pjmlp on Monday November 28, 2022 @02:02PM (#33777987)
Star Lisp!

Although any functional or HPC language like Chapel will do.