Commit 501f0f30 authored by David Rohr's avatar David Rohr
Browse files

set denormal mode only when supported

parent 0392963f
......@@ -25,10 +25,12 @@ int main(int argc, char* argv[])
//********************************* Main BioEM code **********************************
//*************************************************************************************
#ifdef _MM_SET_DENORMALS_ZERO_MODE
#pragma omp parallel
{
//_MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON); //Flush denormals to zero in all OpenMP threads
_MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON); //Flush denormals to zero in all OpenMP threads
}
#endif
HighResTimer timer;
bioem* bio;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment