/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/math_v2.hpp File Reference#
math_v2.hpp File Reference
#include <cmath>
#include "ck/utility/data_type.hpp"
#include "ck/utility/type.hpp"
#include "ck/utility/type_convert.hpp"
Go to the source code of this file.
Namespaces | |
ck | |
ck::math | |
Functions | |
template<typename T > | |
__host__ T | ck::math::tanh (T x) |
template<> | |
__host__ float | ck::math::tanh< float > (float x) |
template<> | |
__host__ double | ck::math::tanh< double > (double x) |
template<typename T > | |
__host__ T | ck::math::acos (T x) |
template<> | |
__host__ float | ck::math::acos< float > (float x) |
template<> | |
__host__ double | ck::math::acos< double > (double x) |
template<typename T > | |
__host__ T | ck::math::neg (T x) |
template<> | |
__host__ float | ck::math::neg< float > (float x) |
template<> | |
__host__ double | ck::math::neg< double > (double x) |
template<> | |
__host__ int32_t | ck::math::neg< int32_t > (int32_t x) |
template<> | |
__host__ int8_t | ck::math::neg< int8_t > (int8_t x) |
template<typename T > | |
__host__ T | ck::math::atan (T x) |
template<> | |
__host__ float | ck::math::atan< float > (float x) |
template<> | |
__host__ double | ck::math::atan< double > (double x) |
template<typename T > | |
__host__ T | ck::math::sin (T x) |
template<> | |
__host__ float | ck::math::sin< float > (float x) |
template<> | |
__host__ double | ck::math::sin< double > (double x) |
template<typename T > | |
__host__ T | ck::math::asin (T x) |
template<> | |
__host__ float | ck::math::asin< float > (float x) |
template<> | |
__host__ double | ck::math::asin< double > (double x) |
template<typename T > | |
__host__ T | ck::math::asinh (T x) |
template<> | |
__host__ float | ck::math::asinh< float > (float x) |
template<> | |
__host__ double | ck::math::asinh< double > (double x) |
template<typename T > | |
__host__ T | ck::math::cos (T x) |
template<> | |
__host__ float | ck::math::cos< float > (float x) |
template<> | |
__host__ double | ck::math::cos< double > (double x) |
template<typename T > | |
__host__ T | ck::math::acosh (T x) |
template<> | |
__host__ float | ck::math::acosh< float > (float x) |
template<> | |
__host__ double | ck::math::acosh< double > (double x) |
template<typename T > | |
__host__ T | ck::math::tan (T x) |
template<> | |
__host__ float | ck::math::tan< float > (float x) |
template<> | |
__host__ double | ck::math::tan< double > (double x) |
template<typename T > | |
__host__ T | ck::math::atanh (T x) |
template<> | |
__host__ float | ck::math::atanh< float > (float x) |
template<> | |
__host__ double | ck::math::atanh< double > (double x) |
template<typename T > | |
__host__ T | ck::math::sinh (T x) |
template<> | |
__host__ float | ck::math::sinh< float > (float x) |
template<> | |
__host__ double | ck::math::sinh< double > (double x) |
template<typename T > | |
__host__ T | ck::math::ceil (T x) |
template<> | |
__host__ float | ck::math::ceil< float > (float x) |
template<> | |
__host__ double | ck::math::ceil< double > (double x) |
template<typename T > | |
__host__ T | ck::math::cosh (T x) |
template<> | |
__host__ float | ck::math::cosh< float > (float x) |
template<> | |
__host__ double | ck::math::cosh< double > (double x) |
template<typename T > | |
__host__ T | ck::math::floor (T x) |
template<> | |
__host__ float | ck::math::floor< float > (float x) |
template<> | |
__host__ double | ck::math::floor< double > (double x) |
template<typename T > | |
__host__ T | ck::math::rcp (T x) |
template<typename T > | |
__host__ T | ck::math::exp (T x) |
template<> | |
__host__ float | ck::math::exp< float > (float x) |
template<> | |
__host__ double | ck::math::exp< double > (double x) |
template<typename T > | |
__host__ T | ck::math::log (T x) |
template<> | |
__host__ float | ck::math::log< float > (float x) |
template<> | |
__host__ double | ck::math::log< double > (double x) |
template<typename T > | |
__host__ T | ck::math::pow (T x, T gamma) |
template<> | |
__host__ float | ck::math::pow< float > (float x, float gamma) |
template<> | |
__host__ double | ck::math::pow< double > (double x, double gamma) |
template<typename T > | |
__host__ T | ck::math::expm1 (T x) |
template<> | |
__host__ float | ck::math::expm1< float > (float x) |
template<> | |
__host__ double | ck::math::expm1< double > (double x) |
template<typename T > | |
__device__ T | ck::math::tanh (T x) |
template<typename T > | |
__device__ T | ck::math::acos (T x) |
template<typename T > | |
__device__ T | ck::math::neg (T x) |
template<> | |
__device__ half_t | ck::math::neg< half_t > (half_t x) |
template<typename T > | |
__device__ T | ck::math::atan (T x) |
template<typename T > | |
__device__ T | ck::math::sin (T x) |
template<> | |
__device__ half_t | ck::math::sin< half_t > (half_t x) |
template<typename T > | |
__device__ T | ck::math::asin (T x) |
template<typename T > | |
__device__ T | ck::math::asinh (T x) |
template<typename T > | |
__device__ T | ck::math::acosh (T x) |
template<typename T > | |
__device__ T | ck::math::tan (T x) |
template<typename T > | |
__device__ T | ck::math::atanh (T x) |
template<typename T > | |
__device__ T | ck::math::sinh (T x) |
template<typename T > | |
__device__ T | ck::math::ceil (T x) |
template<> | |
__device__ half_t | ck::math::ceil< half_t > (half_t x) |
template<typename T > | |
__device__ T | ck::math::cosh (T x) |
template<typename T > | |
__device__ T | ck::math::floor (T x) |
template<> | |
__device__ half_t | ck::math::floor< half_t > (half_t x) |
template<typename T > | |
__device__ T | ck::math::rcp (T x) |
template<typename T > | |
__device__ T | ck::math::exp (T x) |
template<> | |
__device__ half_t | ck::math::exp< half_t > (half_t x) |
template<typename T > | |
__device__ T | ck::math::log (T x) |
template<> | |
__device__ half_t | ck::math::log< half_t > (half_t x) |
template<typename T > | |
__device__ T | ck::math::pow (T x, T gamma) |
template<typename T > | |
__device__ T | ck::math::expm1 (T x) |
template<typename T > | |
__device__ T | ck::math::cos (T x) |