Skip to content

Document _J in reduction kernel template #2522

@niboshi

Description

@niboshi

Related: #2518

int _J = _J_offset;
for (ptrdiff_t _j = _i + _j_offset; _j < _in_ind.size();
_j += _j_stride, _J += _J_stride) {

_J looks unused but actually used in some functions within CuPy.
I'm not sure if it should be documented to the public, but at least there should be a comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions