Skip to content

Commit

Permalink
bench gmm: use env BENCH_LARGE=1 to run the larger (slow) tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Oct 29, 2024
1 parent 8e6dabc commit a2d9fed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions enzyme/benchmarks/ReverseMode/adbench/gmm.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@ int main(const int argc, const char* argv[]) {
std::vector<std::string> paths;// = { "1k/gmm_d10_K100.txt" };

getTests(paths, "data/1k", "1k/");
//getTests(paths, "data/2.5k", "2.5k/");
//getTests(paths, "data/10k", "10k/");
if (std::getenv("BENCH_LARGE")) {
getTests(paths, "data/2.5k", "2.5k/");
getTests(paths, "data/10k", "10k/");
}

std::ofstream jsonfile("results.json", std::ofstream::trunc);
json test_results;
Expand Down

0 comments on commit a2d9fed

Please sign in to comment.