adding dimension tranformation

[ROCm/composable_kernel commit: 0c05f4279f]
This commit is contained in:
Chao Liu
2019-09-05 00:19:06 -05:00
parent 572dd9ae5c
commit 6166bf61c2
6 changed files with 258 additions and 280 deletions

View File

@@ -31,6 +31,12 @@ struct multiplies
__host__ __device__ constexpr T operator()(T a, T b) const { return a * b; }
};
template <class T>
struct maxer
{
__host__ __device__ constexpr T operator()(T a, T b) const { return a >= b ? a : b; }
};
template <class T>
struct integer_divide_ceiler
{