[libc-commits] [PATCH] D146256: [libc] Enable integration tests targeting the GPU

Jon Chesterfield via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Mar 17 11:22:19 PDT 2023


JonChesterfield added a comment.

Libc could walk the ctors array before main and the dtors after, as normal function pointers. We might even be able to persuade hip or openmp to lower their ctor/dtors as function pointer in the same arrays, where they happen to launch a special kernel that walks at least one of them.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146256/new/

https://reviews.llvm.org/D146256



More information about the libc-commits mailing list