[libc-commits] [libc] [libc] Only include GPU utils when targeting GPU (PR #84999)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Mar 12 17:15:34 PDT 2024


https://github.com/jhuber6 approved this pull request.

It's perfectly okay to include it here since all the utility functions are defined to some default fallback if the target isn't a GPU. That's what I use to include `rpc.h` from both GPU and CPU consumers. However, if you don't want it included regardless that's fine.

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


More information about the libc-commits mailing list