Download include/eigen/bench/basicbenchmark.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/bench/basicbenchmark.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/bench/basicbenchmark.cpp
-
curl -L -o basicbenchmark.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/bench/basicbenchmark.cpp
1.11 kB
| int main(int argc, char *argv[]) | |
| { | |
| DISABLE_SSE_EXCEPTIONS(); | |
| // this is the list of matrix type and size we want to bench: | |
| // ((suffix) (matrix size) (number of iterations)) | |
| // #define MODES ((Xd)(20)(10000)) | |
| std::cout BOOST_PP_SEQ_FOR_EACH(_GENERATE_HEADER, ~, MODES ) << endl; | |
| const int tries = 10; | |
| BOOST_PP_SEQ_FOR_EACH(_RUN_BENCH, benchBasic<LazyEval>, MODES ); | |
| std::cout << endl; | |
| BOOST_PP_SEQ_FOR_EACH(_RUN_BENCH, benchBasic<EarlyEval>, MODES ); | |
| std::cout << endl; | |
| return 0; | |
| } | |