News: 0001505669

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD Developing Next-Gen Fortran Compiler Based On Flang, Optimized For AMD GPUs

([AMD] 5 Hours Ago AMD Next-Gen Fortran Compiler)


AMD today went public with details on the "AMD Next-Gen Fortran Compiler" as a new Fortran compiler they are working on based on LLVM's Flang.

The AMD Next-Gen Fortran Compiler is a new open-source Fortran compiler focused on OpenMP offloading to AMD GPUs with a direct interface to ROCm and HIP.

This downstream of Flang is focused on AMD GPU offloading and interacting with the ROCm compute stack. This downstream is open-source and tested across various Linux distributions while using the ROCm driver.

This is akin to AMD's [1]AOMP compiler efforts as their LLVM downstream focused on providing the latest OpenMP offload support to AMD GPUs... But at least for now this "next-gen" compiler is being developed via a separate codebase from AOMP.

This also isn't to be confused with AMD's CPU compiler efforts... Over in [2]AOCC land for the AMD Optimizing C/C++ Compiler they have already been shipping a Flang version for Fortran support catered to the AMD Zen-based processors. But with this Next-Gen Fortran Compiler it's on the GPU front. Yes, AMD's multiple downstreams of LLVM for different product families can get a bit confusing and overlapping in some areas.

AMD today published [3]this ROCm blog post outlining their Next-Gen Fortran Compiler. For now at least the GitHub repository being worked on for this new Fortran compiler is under [4]AMD's InfinityHub CI tree .



[1] https://www.phoronix.com/search/AOMP

[2] https://www.phoronix.com/search/AOCC

[3] https://rocm.blogs.amd.com/ecosystems-and-partners/fortran-journey/README.html

[4] https://github.com/amd/InfinityHub-CI/tree/main/fortran



sophisticles

Pedro Guerrero was playing third base for the Los Angeles Dodgers in 1984
when he made the comment that earns him a place in my Hall of Fame. Second
baseman Steve Sax was having trouble making his throws. Other players were
diving, screaming, signaling for a fair catch. At the same time, Guerrero,
at third, was making a few plays that weren't exactly soothing to manager
Tom Lasorda's stomach. Lasorda decided it was time for one of his famous
motivational meetings and zeroed in on Guerrero: "How can you play third
base like that? You've gotta be thinking about something besides baseball.
What is it?"
"I'm only thinking about two things," Guerrero said. "First, `I
hope they don't hit the ball to me.'" The players snickered, and even
Lasorda had to fight off a laugh. "Second, `I hope they don't hit the ball
to Sax.'"
-- Joe Garagiola, "It's Anybody's Ball Game"