Template Struct InvokeGenericImpl< 0 >¶
Defined in File invoke_generic_impl_.hpp
Struct Documentation¶
-
template<>
structripple::kernel::cpu::InvokeGenericImpl<0>¶ 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>
autoinvoke(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.