[libc-commits] [libc] [libc] Add Kernel Resource Usage to nvptx-loader (PR #97503)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Jul 2 18:08:37 PDT 2024
================
@@ -341,6 +352,13 @@ int load(int argc, char **argv, char **envp, void *image, size_t size,
if (CUresult err = cuStreamSynchronize(stream))
handle_error(err);
+ // Print resource usage if requested.
----------------
jhuber6 wrote:
Just make it do this when it's called.
https://github.com/llvm/llvm-project/pull/97503
More information about the libc-commits
mailing list