Commit 8d1edc74 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Prepare for the starpu arbiter support

parent 602d9b65
......@@ -10,7 +10,7 @@
* @brief The FStarPUFmmPriorities class
* This class should have an static method to be called by hetero getPrio.
*/
#ifdef STARPU_SUPPORT_COMMUTE
#ifdef STARPU_SUPPORT_SCHEDULER
#include "FStarPUHeteoprio.hpp"
......@@ -325,7 +325,7 @@ public:
}
};
#else // STARPU_SUPPORT_COMMUTE
#else // STARPU_SUPPORT_SCHEDULER
class FStarPUFmmPriorities{
static FStarPUFmmPriorities controller;
......@@ -383,7 +383,7 @@ public:
}
};
#endif // STARPU_SUPPORT_COMMUTE
#endif // STARPU_SUPPORT_SCHEDULER
FStarPUFmmPriorities FStarPUFmmPriorities::controller;
......
......@@ -14,6 +14,11 @@
#if (STARPU_MAJOR_VERSION >= 1) && (STARPU_MINOR_VERSION >= 2)
#define STARPU_SUPPORT_COMMUTE
#define STARPU_SUPPORT_SCHEDULER
#endif
#if (STARPU_MAJOR_VERSION >= 1) && (STARPU_MINOR_VERSION >= 3)
#define STARPU_SUPPORT_ARBITER
#endif
/////////////////////////////////////////////////////
......
Supports Markdown
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