spcl / dace

DaCe - Data Centric Parallel Programming
http://dace.is/fast
BSD 3-Clause "New" or "Revised" License
499 stars 129 forks source link

Fixed `dace::math::pi` and `dace::math::nan` on GPU #1759

Closed philip-paul-mueller closed 1 week ago

philip-paul-mueller commented 1 week ago

Both $\pi$ and NaN are implemented as classes in DaCe. However, these classes where not marked as device, thus they are only available on the host.

This PR: