Repair kokkos/kokkos PR-derived regression 8741
harbor run -t luosuu/kokkos__kokkos-8741harbor download luosuu/kokkos__kokkos-8741Fix the following issue in the Kokkos repository.
Current status of mathematical functions
Summarize below what is currently provided by Kokkos and what is missing.
x means already there X.Y denotes functions that have been added more recently in version X.Y
| functions | Kokkos |
|---|---|
abs |
x |
fabs |
x |
fmod |
x |
remainder |
x |
remquo |
5.1 |
fma |
x |
fmax |
x |
fmin |
x |
fdmin |
x |
nan |
x |
| functions | Kokkos |
|---|---|
exp |
x |
exp2 |
x |
expm1 |
x |
log |
x |
log10 |
x |
log2 |
x |
log1p |
x |
| functions | Kokkos |
|---|---|
pow |
x |
sqrt |
x |
cbrt |
x |
hypot |
x |
| functions | Kokkos |
|---|---|
sin |
x |
cos |
x |
tan |
x |
asin |
x |
acos |
x |
atan |
x |
atan2 |
x |
| functions | Kokkos |
|---|---|
sinh |
x |
cosh |
x |
tanh |
x |
asinh |
x |
acosh |
x |
atanh |
x |
| functions | Kokkos |
|---|---|
erf |
x |
erfc |
x |
tgamma |
x |
lgamma |
x |
| functions | Kokkos | notes |
|---|---|---|
ceil |
x | |
floor |
x | |
trunc |
x | |
round |
x | |
lround |
5.1 | round(Arithmetic arg) -> long not available in SYCL |
llround |
5.1 | round(Arithmetic arg) -> long long not available in SYCL |
nearbyint |
x | not available in SYCL |
rint |
5.1 | rint(Arithmetic arg) -> Promoted |
lrint |
5.1 | rint(Arithmetic arg) -> long long not available in SYCL |
llrint |
5.1 | rint(Arithmetic arg) -> long not available in SYCL |
| functions | Kokkos | notes |
|---|---|---|
frexp |
frexp(Arithmetic arg, int* exp) -> Promoted available in CUDA and SYCL |
|
ldexp |
ldexp(Arithmetic arg, int exp) -> Promoted available in CUDA and SYCL |
|
modf |
5.1 | modf(FloatingPoint arg, FloatingPoint* iptr) -> FloatingPoint available in CUDA and SYCL |
scalbn |
scalbn(Arithmetic arg, int exp) -> Promoted available in CUDA |
|
scalbln |
scalbln(Arithmetic arg, long exp) -> Promoted available in CUDA |
|
ilogb |
5.1 | |
logb |
x | |
nextafter |
x | |
nexttoward |
nexttoward(Arithmetic1 from, Arithmetic2 to) -> Promoted missing in CUDA and SYCL |
|
copysign |
x |
| functions | Kokkos |
|---|---|
fpclassify |
5.1 |
isfinite |
x |
isinf |
x |
isnan |
x |
isnormal |
5.1 |
signbit |
x |
isgreater |
5.1 |
isgreaterequal |
5.1 |
isless |
5.1 |
islessequal |
5.1 |
islessgreater |
5.1 |
isunordered |
5.1 |
The repository is checked out at /workspace/repo. Work only on production
source code. Do not modify tests, CMake registration, CI configuration, or the
grading environment. Use the existing build tree for local verification.