/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck_tile/core/utility/unary_element_function.hpp Source File#
unary_element_function.hpp
Go to the documentation of this file.
Definition: cluster_descriptor.hpp:13
constexpr CK_TILE_HOST_DEVICE T clamp(const T &x, const T &lowerbound, const T &upperbound)
Definition: math.hpp:259
remove_cv_t< std::remove_reference_t< T > > remove_cvref_t
Definition: type_traits.hpp:20
__host__ __device__ composes(Ts &&...) -> composes< remove_cvref_t< Ts >... >
FIXME: create macro to replace 'host device' and nothing more.
Definition: unary_element_function.hpp:31
constexpr CK_TILE_HOST_DEVICE composes(Arg &&arg)
Definition: unary_element_function.hpp:35
constexpr CK_TILE_HOST_DEVICE auto operator()(Arg &&arg) const
Definition: unary_element_function.hpp:41
Definition: unary_element_function.hpp:12
constexpr CK_TILE_HOST_DEVICE auto operator()(Arg &&arg) const
Definition: unary_element_function.hpp:20
constexpr CK_TILE_HOST_DEVICE composes(FirstArg &&firstArg, RestArgs &&... restArgs)
Definition: unary_element_function.hpp:14
Definition: numeric.hpp:18
Definition: unary_element_function.hpp:56
constexpr CK_TILE_HOST_DEVICE auto operator()(const AccType &a_) const -> std::enable_if_t< std::is_arithmetic_v< AccType >, AccType >
Definition: unary_element_function.hpp:60