In src/ ndarray_bakcend_cuda.cu file, The comment of the parameter 'strides' and 'offset' with the function CompactKernel and Compact is not consistency.
CompactKernel:
* strides: vector of strides of out array
* offset: offset of out array
Compact:
* strides: strides of the *a* array (not out, which has compact strides)
* offset: offset of the *a* array (not out, which has zero offset, being compact)
I think the parameters strides and offsets all belong to the input array "a".
In src/ ndarray_bakcend_cuda.cu file, The comment of the parameter 'strides' and 'offset' with the function CompactKernel and Compact is not consistency.
CompactKernel:
Compact:
I think the parameters strides and offsets all belong to the input array "a".