Commit 8f6ac93b authored by Quentin Khan's avatar Quentin Khan
Browse files

PerfTest: activate only algorithms that work with the new interface

parent 5eb1412f
......@@ -96,6 +96,8 @@ template<typename FReal> struct algo_descriptor<FReal, 1> {
#include "Core/FFmmAlgorithm.hpp"
template<typename FReal> struct algo_descriptor<FReal, 2> {
/// Optional, detected via SFINAE
enum : bool {disabled = false};
constexpr static const char* name = "uniform-sequential";
using tree_desc = uniform_tree_descriptor<FReal>;
......@@ -124,6 +126,8 @@ template<typename FReal> struct algo_descriptor<FReal, 2> {
#include "Core/FFmmAlgorithmThread.hpp"
template<typename FReal> struct algo_descriptor<FReal, 3> {
/// Optional, detected via SFINAE
enum : bool {disabled = false};
constexpr static const char* name = "uniform-thread";
using tree_desc = uniform_tree_descriptor<FReal>;
......@@ -152,6 +156,8 @@ template<typename FReal> struct algo_descriptor<FReal, 3> {
#include "Core/FFmmAlgorithmTask.hpp"
template<typename FReal> struct algo_descriptor<FReal, 4> {
/// Optional, detected via SFINAE
enum : bool {disabled = false};
constexpr static const char* name = "uniform-task";
using tree_desc = uniform_tree_descriptor<FReal>;
......@@ -179,6 +185,8 @@ template<typename FReal> struct algo_descriptor<FReal, 4> {
#include "Core/FFmmAlgorithmSectionTask.hpp"
template<typename FReal> struct algo_descriptor<FReal, 5> {
/// Optional, detected via SFINAE
enum : bool {disabled = true};
constexpr static const char* name = "uniform-sectiontask";
using tree_desc = uniform_tree_descriptor<FReal>;
......@@ -209,6 +217,8 @@ template<typename FReal> struct algo_descriptor<FReal, 5> {
#include "Core/FFmmAlgorithmOmp4.hpp"
template<typename FReal> struct algo_descriptor<FReal, 6> {
/// Optional, detected via SFINAE
enum : bool {disabled = true};
constexpr static const char* name = "uniform-task-omp4";
using tree_desc = uniform_tree_descriptor<FReal>;
......
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