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

One of the questions that comes up all the time is: How enthusiastic
is our support for UNIX?
Unix was written on our machines and for our machines many years ago.
Today, much of UNIX being done is done on our machines. Ten percent of our
VAXs are going for UNIX use. UNIX is a simple language, easy to understand,
easy to get started with. It's great for students, great for somewhat casual
users, and it's great for interchanging programs between different machines.
And so, because of its popularity in these markets, we support it. We have
good UNIX on VAX and good UNIX on PDP-11s.
It is our belief, however, that serious professional users will run
out of things they can do with UNIX. They'll want a real system and will end
up doing VMS when they get to be serious about programming.
With UNIX, if you're looking for something, you can easily and quickly
check that small manual and find out that it's not there. With VMS, no matter
what you look for -- it's literally a five-foot shelf of documentation -- if
you look long enough it's there. That's the difference -- the beauty of UNIX
is it's simple; and the beauty of VMS is that it's all there.
-- Ken Olsen, president of DEC, DECWORLD Vol. 8 No. 5, 1984
[It's been argued that the beauty of UNIX is the same as the beauty of Ken
Olsen's brain. Ed.]