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

Commit

Permalink
Merge pull request #322 from senior-zero/main-feature/github/cub_merg…
Browse files Browse the repository at this point in the history
…e_sort

Add CUB block and device merge sort
  • Loading branch information
gevtushenko authored Jul 28, 2021
2 parents 94a50bf + 267d78f commit e59cff3
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 e59cff3

Please sign in to comment.