We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's a pretty simple program that segfaults when trying to call the reoptimized function:
// RUN: %atjitc %s -o %t // RUN: %t > %t.out // RUN: %FileCheck %s < %t.out #include <tuner/driver.h> #include <tuner/param.h> using namespace std::placeholders; using namespace tuned_param; using namespace easy::options; size_t someGlobal = 0; void randomLoop(int seed) { for (int i = 0; i < seed; i++) someGlobal += 1; } int main(int argc, char** argv) { tuner::AutoTuner TunerKind = tuner::AT_Bayes; const int ITERS = 500; tuner::ATDriver AT; for (int i = 0; i < ITERS; i++) { auto const &OptimizedFun = AT.reoptimize(randomLoop, IntRange(0, 32768), tuner_kind(TunerKind)); OptimizedFun(); } return 0; }
The text was updated successfully, but these errors were encountered:
kavon
No branches or pull requests
Here's a pretty simple program that segfaults when trying to call the reoptimized function:
The text was updated successfully, but these errors were encountered: