Skip to content

Commit 344e4ea

Browse files
committed
Use std::pair as the return type in host API
1 parent 53cc381 commit 344e4ea

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

include/cuco/detail/static_set/static_set.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ template <class Key,
346346
class Allocator,
347347
class Storage>
348348
template <typename InputIt, typename OutputIt1, typename OutputIt2>
349-
cuda::std::pair<OutputIt1, OutputIt2>
349+
std::pair<OutputIt1, OutputIt2>
350350
static_set<Key, Extent, Scope, KeyEqual, ProbingScheme, Allocator, Storage>::retrieve(
351351
InputIt first,
352352
InputIt last,

include/cuco/static_set.cuh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <cuco/utility/traits.hpp>
2929

3030
#include <cuda/atomic>
31-
#include <cuda/std/utility>
3231
#include <cuda/stream_ref>
3332
#include <thrust/functional.h>
3433

@@ -38,6 +37,7 @@
3837

3938
#include <cstddef>
4039
#include <type_traits>
40+
#include <utility>
4141

4242
namespace cuco {
4343
/**
@@ -617,11 +617,11 @@ class static_set {
617617
* @return The iterator indicating the last valid pair in the output
618618
*/
619619
template <typename InputIt, typename OutputIt1, typename OutputIt2>
620-
cuda::std::pair<OutputIt1, OutputIt2> retrieve(InputIt first,
621-
InputIt last,
622-
OutputIt1 output_probe,
623-
OutputIt2 output_match,
624-
cuda::stream_ref stream = {}) const;
620+
std::pair<OutputIt1, OutputIt2> retrieve(InputIt first,
621+
InputIt last,
622+
OutputIt1 output_probe,
623+
OutputIt2 output_match,
624+
cuda::stream_ref stream = {}) const;
625625

626626
/**
627627
* @brief Asynchronously retrieves the matched key in the set corresponding to all probe keys in

0 commit comments

Comments
 (0)