Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
63680e00
Commit
63680e00
authored
Mar 12, 2014
by
Olivier Coulaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add floating point arithmetic options
parent
bb3e769b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
CMakeLists.txt
+2
-2
Tests/Kernels/testNewCompareKernels.cpp
Tests/Kernels/testNewCompareKernels.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
63680e00
...
@@ -88,7 +88,7 @@ if( ScalFMM_BUILD_DEBUG )
...
@@ -88,7 +88,7 @@ if( ScalFMM_BUILD_DEBUG )
IF
(
APPLE
)
IF
(
APPLE
)
SET
(
SCALFMM_FLAGS_OPTI_DEBUG
"-m64 -funroll-loops"
CACHE STRING
"Set your optimization flags for debug mode."
)
SET
(
SCALFMM_FLAGS_OPTI_DEBUG
"-m64 -funroll-loops"
CACHE STRING
"Set your optimization flags for debug mode."
)
ELSE
(
APPLE
)
ELSE
(
APPLE
)
SET
(
SCALFMM_FLAGS_OPTI_DEBUG
"
${
FLAGS_64bits
}
-march=native -funroll-loops"
CACHE STRING
"Set your optimization flags for debug mode."
)
SET
(
SCALFMM_FLAGS_OPTI_DEBUG
"
${
FLAGS_64bits
}
-
fp-model strict -
march=native -funroll-loops"
CACHE STRING
"Set your optimization flags for debug mode."
)
ENDIF
(
APPLE
)
ENDIF
(
APPLE
)
# ADD_DEFINITIONS(${SCALFMM_FLAGS_OPTI_DEBUG})
# ADD_DEFINITIONS(${SCALFMM_FLAGS_OPTI_DEBUG})
SET
(
ScaLFMM_CXX_FLAGS
"
${
ScaLFMM_CXX_FLAGS
}
${
SCALFMM_FLAGS_OPTI_DEBUG
}
"
)
SET
(
ScaLFMM_CXX_FLAGS
"
${
ScaLFMM_CXX_FLAGS
}
${
SCALFMM_FLAGS_OPTI_DEBUG
}
"
)
...
@@ -111,7 +111,7 @@ else()
...
@@ -111,7 +111,7 @@ else()
ELSE
(
APPLE
)
ELSE
(
APPLE
)
# Not apple system - Check the compilater flags
# Not apple system - Check the compilater flags
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"Intel"
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"Intel"
)
SET
(
SCALFMM_FLAGS_OPTI_RELEASE
"
${
FLAGS_64bits
}
-march=native -funroll-loops -ftree-vectorize"
CACHE STRING
"Set your optimization flags for release mode."
)
SET
(
SCALFMM_FLAGS_OPTI_RELEASE
"
${
FLAGS_64bits
}
-
fp-model precise -fp-model source -fimf-precision=low -
march=native -funroll-loops -ftree-vectorize"
CACHE STRING
"Set your optimization flags for release mode."
)
else
()
else
()
SET
(
SCALFMM_FLAGS_OPTI_RELEASE
"
${
FLAGS_64bits
}
-ffast-math -flto -march=native -funroll-loops -ftree-vectorize"
CACHE STRING
"Set your optimization flags for release mode."
)
SET
(
SCALFMM_FLAGS_OPTI_RELEASE
"
${
FLAGS_64bits
}
-ffast-math -flto -march=native -funroll-loops -ftree-vectorize"
CACHE STRING
"Set your optimization flags for release mode."
)
endif
()
endif
()
...
...
Tests/Kernels/testNewCompareKernels.cpp
View file @
63680e00
...
@@ -372,7 +372,7 @@ int main(int argc, char* argv[])
...
@@ -372,7 +372,7 @@ int main(int argc, char* argv[])
#endif
#endif
{
{
const
static
int
P
=
7
;
const
static
int
P
=
8
;
typedef
FRotationCell
<
P
>
CellClass
;
typedef
FRotationCell
<
P
>
CellClass
;
typedef
FP2PParticleContainerIndexed
<>
ContainerClass
;
typedef
FP2PParticleContainerIndexed
<>
ContainerClass
;
typedef
FSimpleLeaf
<
ContainerClass
>
LeafClass
;
typedef
FSimpleLeaf
<
ContainerClass
>
LeafClass
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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