/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/integral_constant.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/integral_constant.hpp File Reference#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/integral_constant.hpp File Reference
integral_constant.hpp File Reference

Go to the source code of this file.

Classes

struct  ck::constant< v >
 
struct  ck::integral_constant< T, v >
 

Namespaces

 ck
 

Typedefs

template<bool B>
using ck::bool_constant = integral_constant< bool, B >
 
using ck::true_type = bool_constant< true >
 
using ck::false_type = bool_constant< false >
 

Functions

template<typename TX , TX X, typename TY , TY Y>
__host__ constexpr __device__ auto ck::operator+ (integral_constant< TX, X >, integral_constant< TY, Y >)
 
template<typename TX , TX X, typename TY , TY Y>
__host__ constexpr __device__ auto ck::operator- (integral_constant< TX, X >, integral_constant< TY, Y >)
 
template<typename TX , TX X, typename TY , TY Y>
__host__ constexpr __device__ auto ck::operator* (integral_constant< TX, X >, integral_constant< TY, Y >)
 
template<typename TX , TX X, typename TY , TY Y>
__host__ constexpr __device__ auto ck::operator/ (integral_constant< TX, X >, integral_constant< TY, Y >)
 
template<typename TX , TX X, typename TY , TY Y>
__host__ constexpr __device__ auto ck::operator% (integral_constant< TX, X >, integral_constant< TY, Y >)