Added
-
New math functions:
f16.rsqrt
,f32.rsqrt
,f64.rsqrt
. -
New math functions:
cospi
,sinpi
,tanpi
,acospi
,asinpi
,
atanpi
,atan2pi
, in each of thef16
/f32
/f64
modules. (#2243) -
Slight improvements in the ability of the fusion engine to fuse
acrossmap
nests separated byreshape
operations. Only works if
the innermost return type is purely scalar. -
futhark pkg
now allows underscores in package paths.
Fixed
-
The interpreter no longer crashes when passing a sum-typed value
into AD, but it is unlikely to produce a usable result (#2238). -
The partial derivatives of comparisons are now always zero.
Previously we had some code that made an attempt at giving these
another interpretation, but it was never mathematically sound, not
useful, and sometimes buggy. (#2239). -
Out-of-bounds reads in GPU backends when transposing a great many
matrices in parallel (#2241). -
vjp
in the interpreter is now asymptotically efficient (#2187,
#2240). Work by Marcus Jensen. -
The interpreter did not handle
open
correctly. -
Incorrect handling of some size inference edge cases during
monomorphisation (#2252). -
Incorrect registration of entry point types when mixing type
abbreviations and arrays (#2253). -
Reverse mode AD now handles sequential streams. (#2256)