Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Add block and device merge sort
Browse files Browse the repository at this point in the history
  • Loading branch information
gevtushenko committed Jul 7, 2021
1 parent 1205f88 commit f6d6db6
Show file tree
Hide file tree
Showing 12 changed files with 3,673 additions and 0 deletions.
752 changes: 752 additions & 0 deletions cub/agent/agent_merge_sort.cuh

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions cub/block/block_load.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#pragma once

#include <iterator>
#include <type_traits>

#include "block_exchange.cuh"
#include "../iterator/cache_modified_input_iterator.cuh"
Expand Down Expand Up @@ -1288,6 +1289,17 @@ public:

};

template <class Policy,
class It,
class T = typename std::iterator_traits<It>::value_type>
struct BlockLoadType
{
using type = cub::BlockLoad<T,
Policy::BLOCK_THREADS,
Policy::ITEMS_PER_THREAD,
Policy::LOAD_ALGORITHM>;
};


} // CUB namespace
CUB_NS_POSTFIX // Optional outer namespace(s)
Expand Down
Loading

0 comments on commit f6d6db6

Please sign in to comment.