With a reasonable compiler and a reasonable implementation of a gsl::span-like class (see issue #6), there should be no penalty for having device functions take a kat::span<T> instead of a T* and a size_t length. So let's convert some functions to using that...
Of course we might need to make the span templated on the appropriate size type.
With a reasonable compiler and a reasonable implementation of a
gsl::span
-like class (see issue #6), there should be no penalty for having device functions take akat::span<T>
instead of aT*
and asize_t length
. So let's convert some functions to using that...Of course we might need to make the span templated on the appropriate size type.