[libc-commits] [libc] [libc] Adds AMDGPU gfx941 and gfx942 to archs (PR #76573)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Dec 29 09:21:56 PST 2023


https://github.com/jhuber6 commented:

I *really* want to move these to a unified bitcode format so we just have a single file. I don't want to repeat the mistakes of the ROCm device libs with complex globals though. For now this is the right solution.

There's a file called `gpu/time_utils.h` that also needs these added. (Bonus points if you confirm that `HSA_AMD_AGENT_INFO_TIMESTAMP_FREQUENCY` is 25 MHz (25000000) on that architecture). Should be able to print it from `libomptarget` somewhere since we query it there. 

https://github.com/llvm/llvm-project/pull/76573


More information about the libc-commits mailing list