Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
c76689fe
Commit
c76689fe
authored
9 years ago
by
Nicolas Bellot
Committed by
hhakim
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
option de compilation : CXX_FLAGS ajout -02 (tps d execution)
parent
0d61af0d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+5
-8
5 additions, 8 deletions
CMakeLists.txt
with
5 additions
and
8 deletions
CMakeLists.txt
+
5
−
8
View file @
c76689fe
...
...
@@ -49,7 +49,7 @@ set(FAUST_USE_PROFILING OFF CACHE BOOL "Profiling the code")
set
(
FAUST_USE_MATIO ON CACHE BOOL
"Using matio library to read mat files"
)
set
(
FAUST_USE_XML OFF CACHE BOOL
"Using xml configuration to read xml files"
)
set
(
FAUST_ISVERBOSE OFF CACHE BOOL
"Display useful message for debugging"
)
set
(
FAUST_USE_GPU O
N
CACHE BOOL
"Using both CPU and GPU process"
)
set
(
FAUST_USE_GPU O
FF
CACHE BOOL
"Using both CPU and GPU process"
)
set
(
FAUST_GEN_DOC OFF CACHE BOOL
"Generate html documentation with doxygen"
)
if
(
FAUST_USE_SINGLEPRECISION
)
...
...
@@ -186,9 +186,7 @@ if (FAUST_USE_GPU)
# set(FAUST_ALGORITHM_CU_SRC_DIR ${FAUST_SRC_DIR}/algorithm/palm4MSA_cu CACHE INTERNAL "")
# set(FAUST_ALGORITHM_CU_SRC_DIR ${FAUST_SRC_DIR}/algorithm CACHE INTERNAL "")
set
(
FAUST_TEST_GPU_SRC_DIR
${
FAUST_MISC_DIR
}
/test/GPU_test CACHE INTERNAL
""
)
endif
(
FAUST_USE_GPU
)
##################################################################
if
(
FAUST_USE_GPU
)
#set(FAUST_MATRIX_CU_BIN_DIR ${FAUST_LINEAR_OPERATOR_BIN_DIR}/matrix_cu CACHE INTERNAL "")
#set(FAUST_FAUSTCORE_CU_BIN_DIR ${FAUST_LINEAR_OPERATOR_BIN_DIR}/faust_core_cu CACHE INTERNAL "")
set
(
FAUST_LINEAR_OPERATOR_GPU_BIN_DIR
${
FAUST_LINEAR_OPERATOR_BIN_DIR
}
/GPU CACHE INTERNAL
""
)
...
...
@@ -272,7 +270,7 @@ endif(WIN32)
set
(
CMAKE_CXX_FLAGS
""
)
if
(
(
CMAKE_BUILD_TYPE MATCHES
"Debug"
)
OR
(
CMAKE_BUILD_TYPE MATCHES
"debug"
)
OR
(
CMAKE_BUILD_TYPE MATCHES
"DEBUG"
)
)
if
(
UNIX
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-O
0
"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-O
1
"
)
elseif
(
WIN32
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS_DEBUG
}
/O0"
)
else
()
...
...
@@ -281,10 +279,9 @@ if( (CMAKE_BUILD_TYPE MATCHES "Debug") OR (CMAKE_BUILD_TYPE MATCHES "debug") OR
message
(
STATUS
"**********DEBUG mode************"
)
else
()
if
(
UNIX
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fopenmp -fexceptions -fno-omit-frame-pointer -pthread -fPIC "
CACHE STRING
"compile flags"
FORCE
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fopenmp -fexceptions -fno-omit-frame-pointer -pthread -fPIC
-O2
"
CACHE STRING
"compile flags"
FORCE
)
elseif
(
WIN32
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/EHs /openmp /MD"
CACHE STRING
"compile flags"
FORCE
)
#set(CMAKE_CXX_FLAGS " /O2 ")
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/EHs /openmp /MD /O2"
CACHE STRING
"compile flags"
FORCE
)
else
()
message
(
WARNING
"Unknown type of plateform for CMAKE_CXX_FLAGS"
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment