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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Jul 6 14:51:09 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:

No, `launch_parameters` are specifically arguments to the kernel launch. The API expects stuff like the number of threads, blocks, dynamic memory, the stream, etc. This isn't related to that since the API doesn't use it.

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


More information about the libc-commits mailing list