Commit de09ab38 authored by ESTERIE Pierre's avatar ESTERIE Pierre

Remove fuse list for CUDA and OPENCL and add STARPU for find dependencies

parent a603adb4
...@@ -386,7 +386,6 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse_c ...@@ -386,7 +386,6 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse_c
message(WARNING "This release doest not include a full support for CUDA/OpenCl.") message(WARNING "This release doest not include a full support for CUDA/OpenCl.")
#list(APPEND STARPU_COMPONENT_LIST "CUDA") #list(APPEND STARPU_COMPONENT_LIST "CUDA")
endif() endif()
list(APPEND FUSE_LIST "CUDA")
if(SCALFMM_USE_MPI) if(SCALFMM_USE_MPI)
list(APPEND STARPU_COMPONENT_LIST "MPI") list(APPEND STARPU_COMPONENT_LIST "MPI")
endif() endif()
...@@ -394,7 +393,6 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse_c ...@@ -394,7 +393,6 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse_c
message(WARNING "This release doest not include a full support for CUDA/OpenCl.") message(WARNING "This release doest not include a full support for CUDA/OpenCl.")
#list(APPEND STARPU_COMPONENT_LIST "OPENCL") #list(APPEND STARPU_COMPONENT_LIST "OPENCL")
endif() endif()
list(APPEND FUSE_LIST "OPENCL")
find_package(STARPU ${SCALFMM_STARPU_VERSION} REQUIRED find_package(STARPU ${SCALFMM_STARPU_VERSION} REQUIRED
COMPONENTS ${STARPU_COMPONENT_LIST}) COMPONENTS ${STARPU_COMPONENT_LIST})
...@@ -402,6 +400,7 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse_c ...@@ -402,6 +400,7 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse_c
if(STARPU_FOUND) if(STARPU_FOUND)
target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC starpu::starpu_dep) target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC starpu::starpu_dep)
list(APPEND FUSE_LIST "STARPU") list(APPEND FUSE_LIST "STARPU")
list(APPEND SCALFMM_LIBRARIES "STARPU")
if(SCALFMM_USE_CUDA) if(SCALFMM_USE_CUDA)
#list(APPEND FUSE_LIST "CUDA") #list(APPEND FUSE_LIST "CUDA")
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment