llvm-project/libc/benchmarks/gpu/LibcGpuBenchmarkMain.cpp
jameshu15869 02b57dedb7
[libc] NVPTX Profiling (#92009)
PR for adding microbenchmarking infrastructure for NVPTX. `nvlink`
cannot perform LTO, so we cannot inline `libc` functions and this
function call overhead is not adjusted for during microbenchmarking.
2024-06-26 16:38:39 -05:00

7 lines
162 B
C++

#include "LibcGpuBenchmark.h"
extern "C" int main(int argc, char **argv, char **envp) {
LIBC_NAMESPACE::benchmarks::Benchmark::run_benchmarks();
return 0;
}