Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MPIBP-Hummer
BioEM
Commits
501f0f30
Commit
501f0f30
authored
Apr 19, 2014
by
David Rohr
Browse files
set denormal mode only when supported
parent
0392963f
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.cpp
View file @
501f0f30
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment