An uncover-source broadener at AMD has carried out a DOOM port that runs almost entidepend 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 toils for AMD choosed to experiment with porting DOOM to run atop AMD GPUs using ROCm and the LLVM C library for GPUs. Huber elucidates in his GitHub repository for this intriguing DOOM port:
“The clang compiler can center GPUs straightforwardly. We rerent a one kernel that calls the ‘main’ function. Functions that need the operating system are deal withd thraw the RPC interface. See my LLVM talk for more alertation.
This carry outation describes the amdgpu-loader utility, which deal withs begining the main kernel, setting up the SDL2 thrivedow interface, and provides functions to get the input keys and write the output sketchbuffer. Okay, it’s not entidepend on the GPU, but all the logic and rendering runs on the GPU.”
And here is Huber shothriveg off this DOOM GPU port with LLVM libc + ROCm:
Fascinating port and fantastic for shothriveg off the possibilities of the LLVM C library for GPUs. Those inquisitive about the code or to lget more on the project, visit this GitHub repository.