Download dependencies/libcudacxx/libcxx/utils/google-benchmark/src/benchmark_api_internal.h from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/libcxx/utils/google-benchmark/src/benchmark_api_internal.h
- Command line
-
hf download hf://camenduru/thrust/dependencies/libcudacxx/libcxx/utils/google-benchmark/src/benchmark_api_internal.h
-
curl -L -o benchmark_api_internal.h https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/libcxx/utils/google-benchmark/src/benchmark_api_internal.h
1.34 kB
| namespace benchmark { | |
| namespace internal { | |
| // Information kept per benchmark we may want to run | |
| struct BenchmarkInstance { | |
| std::string name; | |
| Benchmark* benchmark; | |
| AggregationReportMode aggregation_report_mode; | |
| std::vector<int64_t> arg; | |
| TimeUnit time_unit; | |
| int range_multiplier; | |
| bool use_real_time; | |
| bool use_manual_time; | |
| BigO complexity; | |
| BigOFunc* complexity_lambda; | |
| UserCounters counters; | |
| const std::vector<Statistics>* statistics; | |
| bool last_benchmark_instance; | |
| int repetitions; | |
| double min_time; | |
| size_t iterations; | |
| int threads; // Number of concurrent threads to us | |
| State Run(size_t iters, int thread_id, internal::ThreadTimer* timer, | |
| internal::ThreadManager* manager) const; | |
| }; | |
| bool FindBenchmarksInternal(const std::string& re, | |
| std::vector<BenchmarkInstance>* benchmarks, | |
| std::ostream* Err); | |
| bool IsZero(double n); | |
| ConsoleReporter::OutputOptions GetOutputOptions(bool force_no_color = false); | |
| } // end namespace internal | |
| } // end namespace benchmark | |