Shortcuts

Template Struct InvokeGenericImpl< 2 >

Struct Documentation

template<>
struct ripple::kernel::cpu::InvokeGenericImpl<2>

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 Callable, typename ...Args>
auto invoke(Callable &&callable, const DimSizes &sizes, Args&&... args) -> void

Invokes the callable on the 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