alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::fn::concepts::DispatchedFnInvocable Concept Reference

Concept to check if a function symbol can be called. More...

#include <fn.hpp>

Concept definition

template<typename T_FnSpec, typename... Args>
concept DispatchedFnInvocable = requires(T_FnSpec fnSpec, Args&&... args) { alpakaFnDispatch(fnSpec, std::forward<Args>(args)...); }
Concept to check if a function symbol can be called.
Definition fn.hpp:124

Detailed Description

Concept to check if a function symbol can be called.

This concept checks if the alpakaFnDispatch() can be called with the given function symbol (if Fallback::toGeneric) or function symbol device specification. It is used to check if a function dispatch is defined for the given device specification or function symbol and if it can be called with the given arguments.

Definition at line 123 of file fn.hpp.