Skip to content

Commit

Permalink
refactor: remove unused tags header
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSeemaier committed Apr 29, 2024
1 parent cd738ba commit acd9944
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 20 deletions.
11 changes: 0 additions & 11 deletions kaminpar-common/tags.h

This file was deleted.

5 changes: 2 additions & 3 deletions kaminpar-dist/distributed_label_propagation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -34,8 +33,8 @@ struct LabelPropagationConfig {
using RatingMap = ::kaminpar::RatingMap<EdgeWeight, NodeID, FastResetArray<EdgeWeight>>;

// 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;
Expand Down
5 changes: 2 additions & 3 deletions kaminpar-shm/label_propagation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -38,8 +37,8 @@ struct LabelPropagationConfig {
::kaminpar::RatingMap<shm::EdgeWeight, shm::NodeID, FastResetArray<shm::EdgeWeight>>;

// 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;
Expand Down
5 changes: 2 additions & 3 deletions kaminpar-shm/legacy_label_propagation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -33,8 +32,8 @@ struct LegacyLabelPropagationConfig {
::kaminpar::RatingMap<shm::EdgeWeight, shm::NodeID, FastResetArray<shm::EdgeWeight>>;

// 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;
Expand Down

0 comments on commit acd9944

Please sign in to comment.