Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions bench/EmbeddingSpMDM8BitBenchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
#include <cstdint>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <random>
#include <set>
#include <vector>

#include "./BenchUtils.h"
Expand Down Expand Up @@ -110,7 +108,6 @@ static int run_benchmark(
vector<int32_t> indices_32;

vector<int> container(num_rows);
map<int64_t, set<int>> dedup_map; // index -> set(output index)

// please note we generate unique indices
for (int i = 0; i < batch_size; ++i) {
Expand Down
3 changes: 0 additions & 3 deletions bench/EmbeddingSpMDMNBit2Benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
#include <cstdint>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <random>
#include <set>
#include <utility>
#include <vector>

Expand Down Expand Up @@ -230,7 +228,6 @@ static int run_benchmark(
vector<int32_t> indices_32;

vector<int> container(num_rows);
map<int64_t, set<int>> dedup_map; // index -> set(output index)

// please note we generate unique indices
for (int i = 0; i < batch_size; ++i) {
Expand Down
1 change: 0 additions & 1 deletion bench/EmbeddingSpMDMNBitBenchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ static int run_benchmark(
vector<int32_t> indices_32;

vector<int> container(num_rows);
map<int64_t, set<int>> dedup_map; // index -> set(output index)

// please note we generate unique indices
for (int i = 0; i < batch_size; ++i) {
Expand Down
3 changes: 0 additions & 3 deletions bench/EmbeddingSpMDMNBitRowWiseSparseBenchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@
#include <cstdint>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <random>
#include <set>
#include <vector>

#include "./BenchUtils.h"
Expand Down Expand Up @@ -129,7 +127,6 @@ static int run_benchmark(
vector<int32_t> indices_32;

vector<int> container(num_rows);
map<int64_t, set<int>> dedup_map; // index -> set(output index)

// please note we generate unique indices
for (int i = 0; i < batch_size; ++i) {
Expand Down
Loading