From fa542de724b4f10fd0b760bdea11ca3823e57c19 Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Wed, 14 Dec 2016 14:25:23 +0100 Subject: [PATCH] we are not compatible with starpu < 1.2, see STARPU_NAME references in codelets --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e812058c..ce760a96d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -657,7 +657,7 @@ endif(NOT CHAMELEON_SIMULATION) if( CHAMELEON_SCHED_STARPU ) - set(CHAMELEON_STARPU_VERSION "1.1" CACHE STRING "oldest STARPU version desired") + set(CHAMELEON_STARPU_VERSION "1.2" CACHE STRING "oldest STARPU version desired") # create list of components in order to make a single call to find_package(starpu...) if(NOT CHAMELEON_SIMULATION) @@ -704,14 +704,17 @@ if( CHAMELEON_SCHED_STARPU ) check_function_exists(starpu_data_idle_prefetch_on_node STARPU_IDLE_PREFETCH_FOUND) if ( STARPU_IDLE_PREFETCH_FOUND ) add_definitions(-DCHAMELEON_USE_STARPU_IDLE_PREFETCH) + message("-- ${Blue}Add definition CHAMELEON_USE_STARPU_IDLE_PREFETCH${ColourReset}") endif() check_function_exists(starpu_data_wont_use STARPU_DATA_WONT_USE_FOUND) if ( STARPU_DATA_WONT_USE_FOUND ) add_definitions(-DCHAMELEON_USE_STARPU_DATA_WONT_USE) + message("-- ${Blue}Add definition CHAMELEON_USE_STARPU_DATA_WONT_USE${ColourReset}") endif() check_function_exists(starpu_malloc_on_node_set_default_flags STARPU_MALLOC_ON_NODE_SET_DEFAULT_FLAGS) if ( STARPU_MALLOC_ON_NODE_SET_DEFAULT_FLAGS ) add_definitions(-DCHAMELEON_USE_STARPU_MALLOC_ON_NODE_SET_DEFAULT_FLAGS) + message("-- ${Blue}Add definition CHAMELEON_USE_STARPU_MALLOC_ON_NODE_SET_DEFAULT_FLAGS${ColourReset}") endif() if(CHAMELEON_ENABLE_TRACING) # check if fxt profiling is accessible in starpu and activate it in chameleon -- GitLab