[libc-commits] [libc] [libc] NVPTX Profiling Draft (PR #92009)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue May 28 17:42:44 PDT 2024


================
@@ -0,0 +1,92 @@
+#include "LibcGpuBenchmark.h"
+#include "src/__support/CPP/algorithm.h"
+#include "src/__support/FPUtil/sqrt.h"
+#include "src/time/gpu/time_utils.h"
+
+namespace LIBC_NAMESPACE {
+namespace benchmarks {
+
+FixedVector<Benchmark *, 64> benchmarks_to_run;
----------------
jhuber6 wrote:

```suggestion
FixedVector<Benchmark *, 64> benchmarks;
```
Personal style, but I like containers that are just the plural version of what they contain.

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


More information about the libc-commits mailing list