diff --git a/kaminpar-common/tags.h b/kaminpar-common/tags.h deleted file mode 100644 index b952ecc3..00000000 --- a/kaminpar-common/tags.h +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -namespace kaminpar::tag { -struct Parallel {}; -constexpr inline Parallel par{}; - -struct Sequential {}; -constexpr inline Sequential seq{}; - -struct Mandatory {}; -} // namespace kaminpar::tag diff --git a/kaminpar-dist/distributed_label_propagation.h b/kaminpar-dist/distributed_label_propagation.h index 9e181ced..f4e15618 100644 --- a/kaminpar-dist/distributed_label_propagation.h +++ b/kaminpar-dist/distributed_label_propagation.h @@ -24,7 +24,6 @@ #include "kaminpar-common/logger.h" #include "kaminpar-common/parallel/atomic.h" #include "kaminpar-common/random.h" -#include "kaminpar-common/tags.h" namespace kaminpar::dist { struct LabelPropagationConfig { @@ -34,8 +33,8 @@ struct LabelPropagationConfig { using RatingMap = ::kaminpar::RatingMap>; // Data type for cluster IDs and weights - using ClusterID = tag::Mandatory; - using ClusterWeight = tag::Mandatory; + using ClusterID = void; + using ClusterWeight = void; // Approx. number of edges per work unit static constexpr shm::NodeID kMinChunkSize = 1024; diff --git a/kaminpar-shm/label_propagation.h b/kaminpar-shm/label_propagation.h index 3cc960ae..0e158dee 100644 --- a/kaminpar-shm/label_propagation.h +++ b/kaminpar-shm/label_propagation.h @@ -28,7 +28,6 @@ #include "kaminpar-common/parallel/algorithm.h" #include "kaminpar-common/parallel/atomic.h" #include "kaminpar-common/random.h" -#include "kaminpar-common/tags.h" #include "kaminpar-common/timer.h" namespace kaminpar { @@ -38,8 +37,8 @@ struct LabelPropagationConfig { ::kaminpar::RatingMap>; // Data type for cluster IDs and weights - using ClusterID = tag::Mandatory; - using ClusterWeight = tag::Mandatory; + using ClusterID = void; + using ClusterWeight = void; // Approx. number of edges per work unit static constexpr shm::NodeID kMinChunkSize = 1024; diff --git a/kaminpar-shm/legacy_label_propagation.h b/kaminpar-shm/legacy_label_propagation.h index 15f58682..f15e8c39 100644 --- a/kaminpar-shm/legacy_label_propagation.h +++ b/kaminpar-shm/legacy_label_propagation.h @@ -22,7 +22,6 @@ #include "kaminpar-common/logger.h" #include "kaminpar-common/parallel/atomic.h" #include "kaminpar-common/random.h" -#include "kaminpar-common/tags.h" namespace kaminpar { struct LegacyLabelPropagationConfig { @@ -33,8 +32,8 @@ struct LegacyLabelPropagationConfig { ::kaminpar::RatingMap>; // Data type for cluster IDs and weights - using ClusterID = tag::Mandatory; - using ClusterWeight = tag::Mandatory; + using ClusterID = void; + using ClusterWeight = void; // Approx. number of edges per work unit static constexpr shm::NodeID kMinChunkSize = 1024;