Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
975cbc06
Commit
975cbc06
authored
Jan 26, 2016
by
BRAMAS Berenger
Browse files
update a comment in the cmake
parent
0b90b648
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
975cbc06
...
...
@@ -395,7 +395,7 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse/
# Default is DOUBLE and without THREADS|OMP
find_package
(
FFTW COMPONENTS SIMPLE
)
# not REQUIRED
if
(
FFTW_LIBRARY_DIRS_DEP
)
set
(
FFT_LIBRARIES
"-L
${
FFTW_LIBRARY_DIRS_DEP
}
;"
CACHE STRING
"Set your
MKL flags
"
)
set
(
FFT_LIBRARIES
"-L
${
FFTW_LIBRARY_DIRS_DEP
}
;"
CACHE STRING
"Set your
FFTW path
"
)
endif
()
if
(
FFTW_LIBRARIES_DEP
)
foreach
(
fft_lib
${
FFTW_LIBRARIES_DEP
}
)
...
...
@@ -455,8 +455,8 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse/
message
(
FATAL_ERROR
"nvcc is needed with CUDA."
)
endif
()
if
(
NOT DEFINED CUSTOM_CUDA_FLAGS
)
set
(
CUSTOM_CUDA_FLAGS
"-std=c++11;-arch=sm_20;-ptxas-options=-v;-use_fast_math"
CACHE
STRING
"Set your CUDA flags, for example : -arch=sm_20;-ptxas-options=-v;-use_fast_math"
)
set
(
CUSTOM_CUDA_FLAGS
"-std=c++11;-arch=sm_20;-
-
ptxas-options=-v;-use_fast_math"
CACHE
STRING
"Set your CUDA flags, for example : -arch=sm_20;-
-
ptxas-options=-v;-use_fast_math"
)
endif
()
# This is needed to remove backslash after space in ADD_CUSTOM_COMMAND
separate_arguments
(
CUSTOM_CUDA_FLAGS
)
...
...
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