by PresidentZippy · 2y ago · 0 comments
How much benefit did Intel expect to reap from rewriting an LLVM x64 compiler backend from the ground up?
And on their own hardware the compiler is often significantly better.[2] This was part of their competitive advantage.
2x better is also a lot. It means that you only have to buy half as many servers. Even much smaller improvements are often worthwhile.
[1]: https://en.wikipedia.org/wiki/Intel_C%2B%2B_Compiler#Release... [2]: https://www.intel.com/content/www/us/en/developer/tools/onea...
I specifically drew the line at 2x.
>It means that you only have to buy half as many servers.
That's what I said in my initial comment: "Whether that means requiring half as much hardware to do the same job or requiring half as much manpower to use..."
But even if I didn't already point that out, I'm curious how you would react in your everyday life if all the people you interact with were as insufferably pedantic as you.
How is this significantly better than the existing tools for compiling C into GPU and FPGA code?
It would help if Intel published some kind of chalk talk with a live demo showing how much faster you can build HPC applications using their new toolkit.
I'm not summarily writing it off, but I need a little convincing before I put 20+ hours into trying it out myself.
"This compiler consists of a custom LLVM frontend and backend. The backend compiles LLVM IR code into machine code consisting of x86_64 instructions and Intel GPU code. The frontend works in conjunction with the backend to compile C and C++ code with special optimization which when enabled, compiles OpenMP routines into hardware-accelerated code targeting Intel GPUs, FPGAs, or AMD and NVIDIA GPUs."
As someone who only used OpenMP academically, I don't see much of a point in that. In the post C++11 world, where we can write type-safe compile-time code, preprocessor macro definitions should stay in C code.
Until Intel GPUs are at least competitive with the big boys, interop with their products doesn't concern me a whole hell of a lot. I'm not going to plan my scientific computing applications around the integrated graphics found on cheap Wintel consumer devices.