mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-15 18:42:06 +00:00
* delete obselete files
* move files
* build
* update cmake
* update cmake
* fix build
* reorg examples
* update cmake for example and test
[ROCm/composable_kernel commit: 5d37d7bff4]
17 lines
363 B
C++
17 lines
363 B
C++
#ifndef CK_MATH_V2_HPP
|
|
#define CK_MATH_V2_HPP
|
|
|
|
#include "data_type.hpp"
|
|
|
|
namespace ck {
|
|
namespace math {
|
|
|
|
static inline __device__ half_t abs(half_t x) { return __habs(x); };
|
|
static inline __device__ half_t sqrtf(half_t x) { return hsqrt(x); };
|
|
static inline __device__ bool isnan(half_t x) { return __hisnan(x); };
|
|
|
|
} // namespace math
|
|
} // namespace ck
|
|
|
|
#endif
|