mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 14:59:17 +00:00
Add transpose scale amax example (#1547)
* Add transpose scale amax example * fixes * Tune reduce instance
This commit is contained in:
@@ -419,6 +419,12 @@ struct UnaryAbs
|
||||
|
||||
y = ck::math::abs(x);
|
||||
};
|
||||
|
||||
template <>
|
||||
__host__ __device__ void operator()(f8_t& y, const f8_t& x) const
|
||||
{
|
||||
y = ck::type_convert<f8_t>(ck::math::abs(ck::type_convert<float>(x)));
|
||||
};
|
||||
};
|
||||
|
||||
struct UnarySqrt
|
||||
|
||||
Reference in New Issue
Block a user