Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Option to disable -Ofast #1433
I am currently working on VAEs & parsing .
However, the makefile of dynet forces the -Ofast option, which in turn force the -ffast-math option.
To bypass this problem, I manually change the configuration and replace -Ofast with -O3 here:
Would you accept a pull request that:
Note: To be clear, when I link my C++ program to Dynet, it changes the behavior of std::exp in my own code, which is annoying. It has nothing to do with any part of the code of Dynet, I am not talking about the dynet::exp operation.