News for hackers. Stuff that matters.
Re:Intel C/C++ compilers complete adoption of LLVM by killingtime74 on Thursday August 12, 2021 @05:39AM (#28154107)
Anyone actually use Intel compilers
Re:Intel C/C++ compilers complete adoption of LLVM by cwizou on Thursday August 12, 2021 @08:25AM (#28155350)
A few years back, Intel was striking marketing deals with large game developers that included them giving away free copies of their compiler and support. It's unclear how prevalent that was, though there were a few titles with an Intel splash logo that were part of this.

This is often assumed to be the cause of the difference of performances between AMD and Intel CPUs in games btw, and while that can definitely come into it, it's not always correct. Sometimes the engines just don't know about the CPUs and treat them like the previous generation (like at Ryzen launch where some games ignored SMT on those), sometimes the devs only tested on one arch, or sometimes it's some extra library that makes incorrect assumptions.

Interesting read on the topic with Cyberpunk : https://cookieplmonster.github.io/2020/12/13/cyberpunk-2077-...

Re:Intel C/C++ compilers complete adoption of LLVM by physicsguy on Thursday August 12, 2021 @06:31AM (#28154474)
Yeah, I used in my last job (commercial CFD code), and it was widely used by others in our sector. It's nice if you need to support Windows/Linux as well as brings for e.g. MPI, etc. and compiling scietnfic libs like FFTW on Windows is a PITA, so using MKL which comes bundled with it is very easy.
Re:Intel C/C++ compilers complete adoption of LLVM by slavik81 on Thursday August 12, 2021 @01:21PM (#28158966)
What makes compiling FFTW on Windows so troublesome? That's currently on my to-do list.
Re:Intel C/C++ compilers complete adoption of LLVM by physicsguy on Sunday August 15, 2021 @04:41PM (#28192328)
Well, most Windows applications you have to actually deploy are compiled with MSVC, and historically most OSS libs don’t use cross platform build scripts, etc.

FFTW these days I think has a CMakeLists.txt file, and Visual Studio well supports CMake now but it didn’t used to.

Re:Intel C/C++ compilers complete adoption of LLVM by jraph on Thursday August 12, 2021 @05:42AM (#28154123)
They are used in High Performance Computing as far as I know. Not systematically though.
Re:Intel C/C++ compilers complete adoption of LLVM by hr0m on Thursday August 12, 2021 @05:51AM (#28154183)
We use Intel Compiler mainly on supercomputers with Intel CPUs. IT can produce faster code. However it is not great to work with it. It lacks features of the newer standard and it is really slow. Usually we develop with clang or GCC and then we go on the cluster.
Re:Intel C/C++ compilers complete adoption of LLVM by unionpivo on Thursday August 12, 2021 @06:36AM (#28154510)
I am sure that plenty of existing HPC cluster will remain intel, the interesting question is how much of the new HPC computers will be AMD.

or is there any HPC specific reason why Intel would still be preferred?

Re:Intel C/C++ compilers complete adoption of LLVM by bocklund on Thursday August 12, 2021 @11:18AM (#28157414)
Several new HPCs are already using AMD [1] and that trend will probably continue if AMD continues to put out competitive products.

[1] See the Top 500 list that, by my count, has 26 of the top 100 HPC systems using AMD EPYC CPUs as of their June 2021 listing https://www.top500.org/lists/top500/list/2021/06/

Re:Intel C/C++ compilers complete adoption of LLVM by qayxc on Thursday August 12, 2021 @08:23AM (#28155324)
Existing install base most likely. It's not as if HPC clusters get replaced every other year. Even upgrades usually stay with the same platform and don't switch from Intel to AMD or ARM-based systems.
Re:Intel C/C++ compilers complete adoption of LLVM by shellac on Thursday August 12, 2021 @05:46AM (#28154151)
Yes, this is the only place I see alternative compilers used much. We have Intel and Nvidia compilers available to our users.
Re:Intel C/C++ compilers complete adoption of LLVM by W0lf on Thursday August 12, 2021 @06:03AM (#28154286)
Pretty much in computer vision / image processing related companies and software products. The performance related advantage on Intel x86 architectures in particular is not to be neglected.
Re:Intel C/C++ compilers complete adoption of LLVM by gpderetta on Thursday August 12, 2021 @06:25AM (#28154440)
My understanding (but I'm not an ICC user) is the majority of the performance improvement are from the vectorized math libraries (that technically you can use from GCC as well).
Re:Intel C/C++ compilers complete adoption of LLVM by physicsguy on Thursday August 12, 2021 @06:32AM (#28154483)
It uses a default lower accuracy floating point model than GCC, so initially people think it's faster til they realise their results are slightly different and have to mess around with the `fp-model` flag
Re:Intel C/C++ compilers complete adoption of LLVM by gpderetta on Thursday August 12, 2021 @07:25AM (#28154879)
Right, of course, IIRC it does the equivalent of -ffast-math by default.
Re:Intel C/C++ compilers complete adoption of LLVM by userbinator on Thursday August 12, 2021 @09:38AM (#28156158)
Yes. Very good optimisation (to be expected), but without the insane exploitation of UB that the GCC/Clang crowd seem to think is necessary for optimisation. Instruction scheduling and selection probably makes the biggest difference.
Re:Intel C/C++ compilers complete adoption of LLVM by bluGill on Thursday August 12, 2021 @08:57AM (#28155665)
Intel tried to convince us, and I think I still have a todo down on the list to try their compilers out. They gave up their attempts quickly when they discovered we have very little code that would benefit from vectorization.
Re:Intel C/C++ compilers complete adoption of LLVM by BeetleB on Friday August 13, 2021 @02:46PM (#28172760)
Lots of people in the HPC and scientific computing sphere. Some of their math capabilities is either much faster or more accurate (or both) than other compilers.
Re:Intel C/C++ compilers complete adoption of LLVM by mbrodersen on Thursday August 12, 2021 @11:43PM (#28165150)
A lot of game companies use the Intel compiler (anecdotally).