/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck_tile/core/numeric/integral_constant.hpp File Reference#
integral_constant.hpp File Reference
Go to the source code of this file.
Classes | |
| struct | ck_tile::constant< v > |
| struct | ck_tile::integral_constant< T, v > |
Namespaces | |
| ck_tile | |
Macros | |
| #define | CK_TILE_LEFT_UNARY_OP(OP) |
| #define | CK_TILE_BINARY_OP(OP) |
Typedefs | |
| template<index_t v> | |
| using | ck_tile::number = constant< v > |
| template<long_index_t v> | |
| using | ck_tile::long_number = constant< v > |
| template<bool b> | |
| using | ck_tile::bool_constant = constant< b > |
Macro Definition Documentation
◆ CK_TILE_BINARY_OP
| #define CK_TILE_BINARY_OP | ( | OP | ) |
Value:
template <auto x, auto y> \
CK_TILE_HOST_DEVICE constexpr auto operator OP(constant<x>, constant<y>) \
{ \
return constant<(x OP y)>{}; \
}
@ constant
◆ CK_TILE_LEFT_UNARY_OP
| #define CK_TILE_LEFT_UNARY_OP | ( | OP | ) |
Value:
template <auto x> \
CK_TILE_HOST_DEVICE constexpr auto operator OP(constant<x>) \
{ \
return constant<(OP x)>{}; \
}