Kernel Float
Contents
Kernel Float
Guides
API Reference
Types
Primitives
Conversion
Generation
Unary Operators
Binary Operators
Reductions
Mathematical
abs
acos
acosh
asin
asinh
atan
atanh
cbrt
ceil
cos
cosh
erf
erfc
exp
exp10
exp2
floor
lgamma
log
log10
rcbrt
sin
sinh
sqrt
rsqrt
tan
tanh
tgamma
rcp
rint
round
trunc
isinf
isnan
Fast math
Conditional
Memory read/write
Utilities
License
Github repository
Kernel Float
API Reference
Mathematical
View page source
Mathematical
abs
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
abs
(
const
V
&
input
)
acos
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
acos
(
const
V
&
input
)
acosh
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
acosh
(
const
V
&
input
)
asin
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
asin
(
const
V
&
input
)
asinh
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
asinh
(
const
V
&
input
)
atan
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
atan
(
const
V
&
input
)
atanh
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
atanh
(
const
V
&
input
)
cbrt
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
cbrt
(
const
V
&
input
)
ceil
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
ceil
(
const
V
&
input
)
cos
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
cos
(
const
V
&
input
)
cosh
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
cosh
(
const
V
&
input
)
erf
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
erf
(
const
V
&
input
)
erfc
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
erfc
(
const
V
&
input
)
exp
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
exp
(
const
V
&
input
)
exp10
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
exp10
(
const
V
&
input
)
exp2
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
exp2
(
const
V
&
input
)
floor
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
floor
(
const
V
&
input
)
lgamma
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
lgamma
(
const
V
&
input
)
log
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
log
(
const
V
&
input
)
log10
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
log10
(
const
V
&
input
)
rcbrt
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
rcbrt
(
const
V
&
input
)
sin
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
sin
(
const
V
&
input
)
sinh
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
sinh
(
const
V
&
input
)
sqrt
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
sqrt
(
const
V
&
input
)
rsqrt
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
rsqrt
(
const
V
&
input
)
tan
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
tan
(
const
V
&
input
)
tanh
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
tanh
(
const
V
&
input
)
tgamma
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
tgamma
(
const
V
&
input
)
rcp
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
rcp
(
const
V
&
input
)
rint
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
rint
(
const
V
&
input
)
round
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
round
(
const
V
&
input
)
trunc
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
trunc
(
const
V
&
input
)
isinf
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
isinf
(
const
V
&
input
)
isnan
template
<
typename
Accuracy
=
default_policy
,
typename
V
>
inline
vector
<
vector_value_type
<
V
>
,
vector_extent_type
<
V
>
>
kernel_float
::
isnan
(
const
V
&
input
)