News: 0001494977

  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)

DOOM Ported To Run Atop AMD ROCm + LLVM libc

([Radeon] 61 Minutes Ago DOOM ROCm Port)


An open-source developer at AMD has carried out a DOOM port that runs almost entirely atop AMD GPUs for rendering and the game logic. This DOOM GPU port relies on the AMD ROCm library with the LLVM libc C library for offloading the classic DOOM to the AMD GPU.

Joseph Huber who works for AMD decided to experiment with porting DOOM to run atop AMD GPUs using ROCm and the LLVM C library for GPUs. Huber explains in his GitHub repository for this intriguing DOOM port:

"The clang compiler can target GPUs directly. We emit a single kernel that calls the 'main' function. Functions that require the operating system are handled through the RPC interface. See my LLVM talk for more information.

This implementation defines the amdgpu-loader utility, which handles launching the main kernel, setting up the SDL2 window interface, and provides functions to get the input keys and write the output framebuffer. Okay, it's not entirely on the GPU, but all the logic and rendering runs on the GPU."

And here is Huber showing off this DOOM GPU port with LLVM libc + ROCm:

Fascinating port and great for showing off the possibilities of the LLVM C library for GPUs. Those curious about the code or to learn more on the project, visit [1]this GitHub repository .



[1] https://github.com/jhuber6/doomgeneric/tree/amdgpu



Jonjolt

dev_null

scottishduck

edxposed

S.Pam

Man Charged With Crashing Windows

MOUNTAIN HOME, AR -- Eric Turgent, a closet Linux advocate, was arrested
yesterday for intentionally crashing his co-worker's Windows box at the
offices of the "Roadkill Roundup" newspaper. Turgent disputes the charges,
saying, "If causing an operating system to crash is illegal, than why
isn't Bill Gates serving life without parole?"

Turgent's co-worker, Mr. Stu Poor, the clueless technology pundit for the
newspaper, is a heavy Microsoft supporter. He frequently brags in his
weekly Tech Talk column that he "once had a conversation with Bill Gates."
A heated argument broke out yesterday morning in which the two insulted
each other ("You're nothing but a Linux hippie freak on the Red Hat
payroll!" vs. "You make Jesse Berst and Fred Moody look like [expletive]
geniuses!") for two hours.

At the heat of the moment, Turgent shoved Poor aside and typed in
"C:\CON\CON". The machine crashed and the pundit lost all of his work (a
real loss to humanity, to be sure). Turgent is in jail awaiting trial for
violating the "Slash Crashes Act". This bill was enacted in 1999 after a
Senator's gigabyte cache of pornography was destroyed by a Windows crash.