| 310 | } |
| 311 | |
| 312 | int main(int argc, char* argv[]) { |
| 313 | if (argc == 2 && std::string(argv[1]) == "-b") { |
| 314 | std::cout << "Running memory benchmark" << std::endl; |
| 315 | mem_bench(); |
| 316 | } else if (argc == 2 && std::string(argv[1]) == "-b2") { |
| 317 | std::cout << "Running memory benchmark 2" << std::endl; |
| 318 | mem_bench2(); |
| 319 | } else { |
| 320 | test_attn(); |
| 321 | test_matmul(); |
| 322 | } |
| 323 | std::cout << "All tests passed" << std::endl; |
| 324 | return 0; |
| 325 | } |
nothing calls this directly
no test coverage detected