Skip to content

The wrong comment in ndarray_bakcend_cuda.cu #9

@lzymmm123

Description

@lzymmm123

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions