Adjacent Find#

Configuring the kernel#

template<unsigned int BlockSize, unsigned int ItemsPerThread>
struct adjacent_find_config : public rocprim::detail::adjacent_find_config_params#

Configuration of device-level adjacent_find.

Template Parameters:
  • BlockSize – number of threads in a block.

  • ItemsPerThread – number of items processed by each thread.

Subclassed by rocprim::detail::default_adjacent_find_config< arch, input_type, enable >

adjacent_find#

Warning

doxygenfunction: Unable to resolve function “rocprim::adjacent_find” with arguments (void*const, std::size_t&, InputIteratorType, OutputIteratorType, const std::size_t, const BinaryPred, const hipStream_t, const bool) in doxygen xml output for project “rocPRIM” from directory: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocprim/checkouts/develop/docs/doxygen/xml. Potential matches:

- template<typename Config = default_config, typename InputIterator, typename OutputIterator, typename BinaryPred = ::rocprim::equal_to<typename std::iterator_traits<InputIterator>::value_type>> hipError_t adjacent_find(void *const temporary_storage, std::size_t &storage_size, InputIterator input, OutputIterator output, const std::size_t size, BinaryPred op = BinaryPred{}, const hipStream_t stream = 0, const bool debug_synchronous = false)