Commit 1a14b1bc authored by BRAMAS Berenger's avatar BRAMAS Berenger

Update flags and defines for starpu and cuda

parent 5d14ef1b
......@@ -276,6 +276,8 @@ endif()
##################################################################
##################################################################
#
MESSAGE( STATUS "ScalFMM_USE_STARPU = ${ScalFMM_USE_STARPU}" )
if( ScalFMM_USE_STARPU )
SET(STARPU_LIBRARIES " -L$ENV{STARPU_LIB}; -lstarpu-$ENV{STARPU_VERSION}") # CACHE STRING "Set your STARPU flags"
......@@ -291,6 +293,7 @@ if( ScalFMM_USE_STARPU )
MESSAGE(STATUS " STARPU_INCLUDES = ${STARPU_INCLUDES}")
OPTION( ScalFMM_USE_CUDA "Set to ON to use CUDA with StarPU" OFF )
MESSAGE( STATUS "ScalFMM_USE_CUDA = ${ScalFMM_USE_CUDA}" )
if(ScalFMM_USE_CUDA)
execute_process(COMMAND nvcc --version ERROR_VARIABLE cuda_error_output OUTPUT_QUIET)
if(cuda_error_output)
......
......@@ -58,13 +58,13 @@
// CUDA
///////////////////////////////////////////////////////
#cmakedefine SCALFMM_USE_CUDA
#cmakedefine ScalFMM_USE_CUDA
///////////////////////////////////////////////////////
// STARPU
///////////////////////////////////////////////////////
#cmakedefine SCALFMM_USE_STARPU
#cmakedefine ScalFMM_USE_STARPU
///////////////////////////////////////////////////////
// SSE
......@@ -80,12 +80,6 @@
#cmakedefine ScalFMM_USE_AVX
#cmakedefine __SSEPE_INTEL_COMPILER
///////////////////////////////////////////////////////
// STARPU
///////////////////////////////////////////////////////
#cmakedefine ScalFMM_USE_STARPU
///////////////////////////////////////////////////////
// Assert tests
///////////////////////////////////////////////////////
......
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