We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dpctl.tensor.sin
dpt.tensor.expm1
f4
f8
gpu
For the following cases the results are different for float32 and float64 on gpu.
float32
float64
sin
>>> dpt.sin(dpt.asarray(-0.,dtype='f4',device='gpu')) usm_ndarray(0., dtype=float32) >>> dpt.sin(dpt.asarray(-0.,dtype='f8',device='gpu')) usm_ndarray(-0.)
expm1
>>> dpt.expm1(dpt.asarray(-0.,dtype='f4',device='gpu')) usm_ndarray(-0., dtype=float32) >>> dpt.expm1(dpt.asarray(-0.,dtype='f8',device='gpu')) usm_ndarray(0.)