Skip to content
Snippets Groups Projects
Commit ca1fa3c2 authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

Allow sorting with 64 bit keys.

parent 713ed477
No related branches found
No related tags found
No related merge requests found
...@@ -88,6 +88,11 @@ struct numeric_limits<unsigned int> { ...@@ -88,6 +88,11 @@ struct numeric_limits<unsigned int> {
__device__ static constexpr unsigned int max_or_inf() { return UINT_MAX; } __device__ static constexpr unsigned int max_or_inf() { return UINT_MAX; }
}; };
template<>
struct numeric_limits<unsigned long int> {
__device__ static constexpr unsigned long int max_or_inf() { return UINT64_MAX; }
};
} // namespace detail } // namespace detail
template<typename Key, typename T, int BlockSize, int ItemsPerThread> template<typename Key, typename T, int BlockSize, int ItemsPerThread>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment