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

Add CUB block and device merge sort #322

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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