Skip to content

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 28, 2021
1 parent 94a50bf commit 267d78f
Show file tree
Hide file tree
Showing 12 changed files with 3,663 additions and 0 deletions.
750 changes: 750 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 @@ -1284,6 +1285,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_END

Loading

0 comments on commit 267d78f

Please sign in to comment.