Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
ScalFMM
Commits
de436892
Commit
de436892
authored
Apr 11, 2019
by
ESTERIE Pierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove CUDA/OpenCL for now
parent
a0296c11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
26 deletions
+2
-26
CMakeLists.txt
CMakeLists.txt
+2
-26
No files found.
CMakeLists.txt
View file @
de436892
...
...
@@ -378,37 +378,12 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse_c
CMAKE_DEPENDENT_OPTION
(
SCALFMM_USE_CUDA
"Set to ON to use OPENCL with StarPU"
OFF
"SCALFMM_USE_STARPU"
OFF
)
if
(
SCALFMM_USE_STARPU
)
enable_language
(
C
)
# CUDA could be used with StarPU enabled
option
(
SCALFMM_USE_CUDA
"Set to ON to use CUDA with StarPU"
OFF
)
#if(SCALFMM_USE_CUDA)
# execute_process(COMMAND nvcc --version ERROR_VARIABLE cuda_error_output OUTPUT_QUIET)
# if(cuda_error_output)
# 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")
# endif()
# # This is needed to remove backslash after space in ADD_CUSTOM_COMMAND
# separate_arguments(CUSTOM_CUDA_FLAGS)
# message( STATUS "CUSTOM_CUDA_FLAGS = ${CUSTOM_CUDA_FLAGS}" )
# find_package(CUDA REQUIRED)
# if (CUDA_INCLUDE_DIRS)
# include_directories(${CUDA_INCLUDE_DIRS})
# endif()
# if (CUDA_LIBRARIES)
# set(SCALFMM_LIBRARIES "${SCALFMM_LIBRARIES};${CUDA_LIBRARIES}")
# endif()
# set(CUDA_NEEDED_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/Src)
#endif()
# Find StarPU with a list of optional components
set
(
SCALFMM_STARPU_VERSION
"1.2.8"
CACHE STRING
" STARPU version desired"
)
# create list of components in order to make a single call to find_package(starpu...)
set
(
STARPU_COMPONENT_LIST
"HWLOC"
)
if
(
SCALFMM_USE_CUDA
)
message
(
WARNING
"This release doest not include a full support for CUDA/OpenCl."
)
list
(
APPEND STARPU_COMPONENT_LIST
"CUDA"
)
endif
()
list
(
APPEND FUSE_LIST
"CUDA"
)
...
...
@@ -416,6 +391,7 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse_c
list
(
APPEND STARPU_COMPONENT_LIST
"MPI"
)
endif
()
if
(
SCALFMM_USE_OPENCL
)
message
(
WARNING
"This release doest not include a full support for CUDA/OpenCl."
)
list
(
APPEND STARPU_COMPONENT_LIST
"OPENCL"
)
endif
()
list
(
APPEND FUSE_LIST
"OPENCL"
)
...
...
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