1 | #include "benchmarks/gpu/LibcGpuBenchmark.h" |
---|---|
2 | |
3 | #include "src/ctype/isalpha.h" |
4 | |
5 | uint64_t BM_IsAlpha() { |
6 | char x = 'c'; |
7 | return LIBC_NAMESPACE::latency(LIBC_NAMESPACE::isalpha, x); |
8 | } |
9 | BENCHMARK(LlvmLibcIsAlphaGpuBenchmark, IsAlpha, BM_IsAlpha); |
10 |