kokkos / kokkos-fft

A shared-memory FFT for the Kokkos ecosystem
https://kokkosfft.readthedocs.io/
Other
21 stars 4 forks source link

Error handling let them know which line causes the error #80

Open yasahi-hpc opened 6 months ago

yasahi-hpc commented 2 months ago

Static assertion to Unary (fftshift, ifftshift) and Binary (Plan and fft functions) APIs.

Runtime assertion should be std::runtime_error with appropriate messages. If there is inconsistency in extents, we cannot operate FFT.

Examples to produce errors should be added. Display the expected assertions.

Add CI for C++20 build