[libc-commits] [PATCH] D148635: [libc] Add a support library for GPU utilities
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Apr 19 00:15:52 PDT 2023
sivachandra accepted this revision.
sivachandra added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libc/src/__support/GPU/CMakeLists.txt:10
+
+add_header_library(
+ utils
----------------
Not a strong opinion but you can simplify few things here if you use files like `nvptx_utils.h` etc. instead of nested files `nvptx/utils.h` etc.
================
Comment at: libc/src/__support/RPC/rpc.h:23
#include "src/__support/CPP/atomic.h"
+#include "src/__support/GPU/utils.h"
----------------
Is this new inclusion being used anywhere or is it only to make `rpc.h` expose `utils.h` implicitly? For proper layering, we normally avoid such implicit dependencies and inclusions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148635/new/
https://reviews.llvm.org/D148635
More information about the libc-commits
mailing list