[libc-commits] [libc] [libc] Add Kernel Resource Usage to nvptx-loader (PR #97503)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sun Jul 14 16:06:36 PDT 2024


================
@@ -28,6 +28,7 @@ struct LaunchParameters {
   uint32_t num_blocks_x;
   uint32_t num_blocks_y;
   uint32_t num_blocks_z;
+  bool print_resource_usage;
----------------
jhuber6 wrote:

Move this to a separate global and pass it to the function. Honestly I'm thinking I should just rewrite this to be a pure LLVM utility and just use their https://clang.llvm.org/docs/ClangCommandLineReference.html interface.

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


More information about the libc-commits mailing list