Get the latest tech news
AMD Upstreams Efficient Malloc Support On GPUs For LLVM libc
AMD compiler engineer Joseph Huber is the one who ported DOOM to run on GPUs atop ROCm + LLVM libc as part of taking standard C/C++ code to run on GPUs and more recently has also been pursuing Flang/Fortran support atop GPUs
The scheme revolves around using a global reference counted pointer to hand out access to a dynamically created and destroyed slab interface. Future patches will have different modes to allow fast first-time-use as well as a non-RPC version." Nice seeing all the upstreaming work that AMD is carrying out and continued progress toward allowing more unmodified code to run on GPUs.
Or read this on Phoronix