Skip to content

cuda.parallel: Incorrect use of host init array in test_reduce.py #4250

Closed

Description

@oleksandr-pavlyk

In the course of refactoring I replaced np.asarray([0], dtype=dt) which created 1d single element array with functionally incorrect np.zeros([0], dtype=dt) which creates 1d no-elements array.

np.zeros([0], dtype=dt) should have been np.zeros(1, dtype=dt).

Activity

  1. added a commit that references this issue on Mar 24, 2025
    37fa399
  2. moved this from Todo to In Review in CCCLon Mar 24, 2025
  3. moved this from In Review to Done in CCCLon Mar 25, 2025
  4. added a commit that references this issue on Mar 25, 2025
    a2abb48
  5. added 2 commits that reference this issue on Mar 25, 2025
    4964578
    3783746
  6. added 2 commits that reference this issue on Apr 7, 2025
    742f939
    db8ef8a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions