From 16122a4a7ab152b10307af8be0c52321938f2248 Mon Sep 17 00:00:00 2001 From: Berenger Bramas <bbramas@mpcdf.mpg.de> Date: Wed, 12 Oct 2016 10:21:51 +0200 Subject: [PATCH] add a compile warning if no prio --- Src/GroupTree/StarPUUtils/FStarPUUtils.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Src/GroupTree/StarPUUtils/FStarPUUtils.hpp b/Src/GroupTree/StarPUUtils/FStarPUUtils.hpp index ff4f8ed52..04109478c 100644 --- a/Src/GroupTree/StarPUUtils/FStarPUUtils.hpp +++ b/Src/GroupTree/StarPUUtils/FStarPUUtils.hpp @@ -27,6 +27,10 @@ #warning StarPU Arbiter is not supported #endif +#if (STARPU_MAJOR_VERSION >= 1) && (STARPU_MINOR_VERSION >= 2) && !defined(SCALFMM_STARPU_USE_PRIO) +#warning Priorities is not supported +#endif + #if (STARPU_MAJOR_VERSION >= 1) && (STARPU_MINOR_VERSION >= 2) && defined(SCALFMM_STARPU_USE_PRIO) && !defined(SCALFMM_STARPU_FORCE_NO_SCHEDULER) #define STARPU_SUPPORT_SCHEDULER #else -- GitLab