Make input really const
It looks like INPUTs could be modified at will in host code (not inside device code). data
would return a span<T>
where T
was never const
. This MR fixes that, and makes all inputs const
both in the host and in the device.
Thankfully almost no code was contradicting this rule, which with this MR becomes explicit also for host code.