[libc-commits] [libc] [libc] Add Multithreaded GPU Benchmarks (PR #98964)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Jul 17 14:13:38 PDT 2024


================
@@ -19,6 +24,8 @@ function(add_benchmark benchmark_name)
     LINK_LIBRARIES
       LibcGpuBenchmark.hermetic
       ${BENCHMARK_LINK_LIBRARIES}
+    LOADER_ARGS
+      --threads ${BENCHMARK_NUM_THREADS}
----------------
jhuber6 wrote:

We should probably just do this on a per-benchmark basis.
```suggestion
```

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


More information about the libc-commits mailing list