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

Commit

Permalink
Changing to new namespace macros
Browse files Browse the repository at this point in the history
  • Loading branch information
elstehle committed Aug 6, 2021
1 parent 0b0d3fd commit 60ebd79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
13 changes: 4 additions & 9 deletions cub/block/block_run_length_decode.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,11 @@
#include "block_scan.cuh"
#include <limits>

/// Optional outer namespace(s)
CUB_NS_PREFIX

/// CUB namespace
namespace cub
{
CUB_NAMESPACE_BEGIN

/**
* BlockRunLengthDecodeAlgorithm enumerates alternative algorithms for parallel
* reduction across a CUDA thread block.
* BlockRunLengthDecodeAlgorithm enumerates alternative specialisations of the BlockRunLengthDecode algorithm.
*/
enum class BlockRunLengthDecodeAlgorithm
{
Expand Down Expand Up @@ -431,5 +426,5 @@ public:
__syncthreads();
}
};
} // namespace cub
CUB_NS_POSTFIX // Optional outer namespace(s)

CUB_NAMESPACE_END
3 changes: 2 additions & 1 deletion test/test_block_run_length_decode.cu
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ public:
BlockRunLengthDecodeT run_length_decode(temp_storage.run_length_decode_storage);
run_length_decode.Init(unique_items, run_lengths, decoded_size);

// Run-length decode ("decompress") the runs into a window buffer of limited size. This is repeated
// Run-length decode ("decompress") the runs into a window buffer of limited size. This is repeated until all runs
// have been decoded.
uint32_t decoded_window_offset = 0U;
while (decoded_window_offset < decoded_size)
{
Expand Down

0 comments on commit 60ebd79

Please sign in to comment.