[libc] Add N Threads Benchmark Helper (#99834)
commit197b14223238716a84b423315242f8b10d8922dd
authorjameshu15869 <55058507+jameshu15869@users.noreply.github.com>
Mon, 22 Jul 2024 02:56:40 +0000 (21 21:56 -0500)
committerGitHub <noreply@github.com>
Mon, 22 Jul 2024 02:56:40 +0000 (21 21:56 -0500)
tree41e69d24b414bb8ac094a0ceeeb9a71b83e44e2c
parentd15ada24b1fbbd72776022383a5c557a1a056413
[libc] Add N Threads Benchmark Helper (#99834)

This PR adds a `BENCHMARK_N_THREADS()` helper to register benchmarks
with a specific number of threads. This PR replaces the flags used
originally to allow any amount of threads.
libc/benchmarks/gpu/LibcGpuBenchmark.cpp
libc/benchmarks/gpu/LibcGpuBenchmark.h