Shortcuts

Template Struct InvokeBlockedImpl

Struct Documentation

template<size_t I>
struct ripple::kernel::detail::InvokeBlockedImpl

Implementation struct to invoke a callable in a blocked manner,.

Template Parameters
  • I: The index of the dimension to invoke for.

Public Static Functions

template<typename Iterator, typename ExecImpl, typename Callable, typename ...Args, exec_param_enable_t<ExecImpl> = 0>
auto invoke(Iterator &&it, ExecImpl &&exec_params, dim3 &threads, dim3 &blocks, Callable &&callable, Args&&... args) -> void

Invokes the callable on the given iterator with the given args and execution params.

Parameters
  • it: The iterator to pass to the callable.

  • exec_params: The execution parameters.

  • threads: The number fo threads in each block.

  • blocks: The number of blocks.

  • callable: The callable object.

  • args: Arguments for the callable.

Template Parameters
  • Iterator: The type of the iterator.

  • ExecImpl: The type of the execution params.

  • Callable: The callable object to invoke.

  • Args: The type of the arguments for the invocation.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples