[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:35 PDT 2024


================
@@ -326,6 +326,11 @@ static hsa_status_t hsa_memcpy(void *dst, hsa_agent_t dst_agent,
   return HSA_STATUS_SUCCESS;
 }
 
+void print_resources(void *image) {
+  fprintf(stderr, "Printing resource usage on AMDGPU is not supported yet.\n");
+  exit(EXIT_FAILURE);
----------------
jhuber6 wrote:

Don't make it fail, it'll just make it more annoying when we try to run benchmarks on both.

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


More information about the libc-commits mailing list