Skip to content

Commit d2922f9

Browse files
committed
revert test changes
1 parent ebcc09c commit d2922f9

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

examples/static_map/count_by_key_example.cu

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
/**
3232
* @file count_by_key_example.cu
3333
* @brief Demonstrates usage of the device side APIs for individual operations like insert/find in
34-
*
35-
*
3634
* the context of a count-by-key operation, i.e. for a histogram over keys.
3735
*
3836
* Individual operations like a single insert or find can be performed in device code via the
@@ -47,19 +45,13 @@
4745
* @brief Inserts keys and counts how often they occur in the input sequence.
4846
*
4947
* @tparam BlockSize CUDA block size
50-
*
5148
* @tparam Map Type of the map device reference
52-
*
5349
* @tparam KeyIter Input iterator whose value_type convertible to Map::key_type
54-
*
5550
* @tparam UniqueIter Output iterator whose value_type is convertible to uint64_t
5651
*
5752
* @param[in] map_ref Reference of the map into which inserts will be performed
58-
*
5953
* @param[in] key_begin The beginning of the range of keys to insert
60-
*
6154
* @param[in] num_keys The total number of keys and values
62-
*
6355
* @param[out] num_unique_keys The total number of distinct keys inserted
6456
*/
6557
template <int64_t BlockSize, typename Map, typename KeyIter, typename UniqueIter>

examples/static_map/custom_type_example.cu

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@
2424
#include <thrust/transform.h>
2525

2626
// User-defined key type
27-
// //
28-
//
29-
//
30-
//
31-
//
32-
//
33-
//
3427
struct custom_key_type {
3528
int32_t a;
3629
int32_t b;
@@ -76,7 +69,6 @@ int main(void)
7669
[] __device__(auto i) { return cuco::pair{custom_key_type{i}, custom_value_type{i}}; }));
7770

7871
// Construct a map with 100,000 slots using the given empty key/value sentinels. Note the
79-
//
8072
// capacity is chosen knowing we will insert 80,000 keys, for an load factor of 80%.
8173
auto map = cuco::static_map{cuco::extent<std::size_t, 100'000>{},
8274
cuco::empty_key{empty_key_sentinel},

0 commit comments

Comments
 (0)