Skip to content

Commit

Permalink
Move hashmap and unoredered_set one dir up
Browse files Browse the repository at this point in the history
  • Loading branch information
kstppd committed Apr 9, 2024
1 parent 45dff96 commit ea5f152
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@
#ifdef HASHINATOR_CPU_ONLY_MODE
#define SPLIT_CPU_ONLY_MODE
#endif
#include "../../common.h"
#include "../../splitvector/gpu_wrappers.h"
#include "../../splitvector/split_allocators.h"
#include "../../splitvector/splitvec.h"
#include "../defaults.h"
#include "../hash_pair.h"
#include "../hashfunctions.h"
#include "../common.h"
#include "../splitvector/gpu_wrappers.h"
#include "../splitvector/split_allocators.h"
#include "../splitvector/splitvec.h"
#include "defaults.h"
#include "hash_pair.h"
#include "hashfunctions.h"
#include <algorithm>
#include <cassert>
#include <limits>
#include <stdexcept>
#ifndef HASHINATOR_CPU_ONLY_MODE
#include "../../splitvector/split_tools.h"
#include "../hashers.h"
#include "../splitvector/split_tools.h"
#include "hashers.h"
#endif

namespace Hashinator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
#ifdef HASHINATOR_CPU_ONLY_MODE
#define SPLIT_CPU_ONLY_MODE
#endif
#include "../../common.h"
#include "../../splitvector/gpu_wrappers.h"
#include "../../splitvector/split_allocators.h"
#include "../../splitvector/splitvec.h"
#include "../defaults.h"
#include "../hash_pair.h"
#include "../hashfunctions.h"
#include "../common.h"
#include "../splitvector/gpu_wrappers.h"
#include "../splitvector/split_allocators.h"
#include "../splitvector/splitvec.h"
#include "defaults.h"
#include "hash_pair.h"
#include "hashfunctions.h"
#include <algorithm>
#include <stdexcept>
#ifndef HASHINATOR_CPU_ONLY_MODE
#include "../../splitvector/split_tools.h"
#include "../hashers.h"
#include "../splitvector/split_tools.h"
#include "hashers.h"
#endif
#define UNUSED(x) (void)(x)
namespace Hashinator {
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/benchmark/loadFactor.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdlib.h>
#include <chrono>
#include <unordered_set>
#include "../../include/hashinator/hashmap/hashmap.h"
#include "../../include/hashinator/hashmap.h"

constexpr int R = 2;
using namespace std::chrono;
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/benchmark/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <chrono>
#include <unordered_set>
#include <random>
#include "../../include/hashinator/hashmap/hashmap.h"
#include "../../include/hashinator/hashmap.h"
#include <nvToolsExt.h>
#define PROFILE_START(msg) nvtxRangePushA((msg))
#define PROFILE_END() nvtxRangePop()
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/benchmark/realistic.cu
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <chrono>
#include <unordered_set>
#include <random>
#include "../../include/hashinator/hashmap/hashmap.h"
#include "../../include/hashinator/hashmap.h"
constexpr int R = 10;

using namespace std::chrono;
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/benchmark/tbPerf.cu
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <chrono>
#include <unordered_set>
#include <random>
#include "../../include/hashinator/hashmap/hashmap.h"
#include "../../include/hashinator/hashmap.h"
static constexpr int R = 10;

using namespace std::chrono;
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/delete_by_compaction/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdlib.h>
#include <chrono>
#include <random>
#include "../../include/hashinator/hashmap/hashmap.h"
#include "../../include/hashinator/hashmap.h"
#include <gtest/gtest.h>

#define BLOCKSIZE 32
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/hashmap_unit_test/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdlib.h>
#include <chrono>
#include <random>
#include "../../include/hashinator/hashmap/hashmap.h"
#include "../../include/hashinator/hashmap.h"
#include <gtest/gtest.h>
#include <random>
#include <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/hybrid/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdlib.h>
#include <chrono>
#include <random>
#include "../../include/hashinator/hashmap/hashmap.h"
#include "../../include/hashinator/hashmap.h"
#include <gtest/gtest.h>


Expand Down
2 changes: 1 addition & 1 deletion unit_tests/insertion_mechanism/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <algorithm>
#include <vector>
#include <random>
#include "../../include/hashinator/hashmap/hashmap.h"
#include "../../include/hashinator/hashmap.h"
#include <gtest/gtest.h>

#define BLOCKSIZE 1024
Expand Down
2 changes: 1 addition & 1 deletion unit_tests/unordered_set_unit_test/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define SPLIT_CPU_ONLY_MODE
#define HASHINATOR_CPU_ONLY_MODE

#include "../../include/hashinator/unordered_set/unordered_set.h"
#include "../../include/hashinator/unordered_set.h"
#include <gtest/gtest.h>
#include <unordered_set>

Expand Down
2 changes: 1 addition & 1 deletion unit_tests/unordered_set_unit_test/main.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <iostream>
#include "../../include/hashinator/unordered_set/unordered_set.h"
#include "../../include/hashinator/unordered_set.h"
#include <gtest/gtest.h>
#include <unordered_set>

Expand Down

0 comments on commit ea5f152

Please sign in to comment.