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

via libc-commits libc-commits at lists.llvm.org
Tue Jul 16 21:09:16 PDT 2024


jameshu15869 wrote:

Do you mean you would prefer something that looks more like
```
add_benchmark(
  isalpha_benchmark
  SUITE
    libc-gpu-ctype-benchmarks
  SRCS
    isalpha_benchmark.cpp
  DEPENDS
    libc.src.ctype.isalpha
  LOADER_ARGS
    --threads 32
)
```

I was thinking explicitly having `NUM_THREADS` would be like a shorthand and might be a little more clear than using `LOADER_ARGS`, but I think I can see what you mean

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


More information about the libc-commits mailing list