[libc-commits] [libc] [libc] Partially implement 'rand' for the GPU (PR #66167)

Jon Chesterfield via libc-commits libc-commits at lists.llvm.org
Mon Sep 25 07:37:05 PDT 2023


JonChesterfield wrote:

I don't understand the comments about being unable to initialize the memory.  Libc could have a per-kernel init function and document that languages that want to integrate libc need to splice that into the kernel prologue. Or we could bite the bullet and support trivial initialisers on shared memory, the blocker there was mostly disagreement about whether one lane in the warp or all of them should do the write.

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


More information about the libc-commits mailing list