operator[](index i) not marked HD on basic_array<T, 1, ...>
operator[](index i) is not marked HD, which causes problems in the implementation of device-to-device copy_n for cuda::ptr.
operator[](index i) is not marked HD, which causes problems in the implementation of device-to-device copy_n for cuda::ptr.