Skip to content

Add order agrument to generate_random_numpy_array() #2237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

vlad-perevezentsev
Copy link
Collaborator

@vlad-perevezentsev vlad-perevezentsev commented Dec 16, 2024

This PR suggests updating the helper function generate_random_numpy_array() by adding an argument order to generate arrays in different orders

Additionally
Input generation for tests was changed in #2227 , now test_fft2 and test_fftn do not use order parameter.
This PR suggests to update these tests to use input data with different orders

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you filing the PR as a draft?

Copy link
Contributor

github-actions bot commented Dec 16, 2024

View rendered docs @ https://intelpython.github.io/dpnp/index.html

Copy link
Contributor

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vlad-perevezentsev vlad-perevezentsev changed the title Update input generation for TestFft2 and TestFftn Add order agrument to generate_random_numpy_array() Dec 17, 2024
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 65.086%. remained the same
when pulling 71810a4 on test_diff_order_fft
into 904227e on master.

@antonwolfy antonwolfy merged commit 8f05542 into master Dec 17, 2024
42 of 49 checks passed
@antonwolfy antonwolfy deleted the test_diff_order_fft branch December 17, 2024 12:31
github-actions bot added a commit that referenced this pull request Dec 17, 2024
This PR suggests updating the helper function
`generate_random_numpy_array()` by adding an argument `order` to
generate arrays in different orders

Additionally
Input generation for tests was changed in #2227 , now `test_fft2` and
`test_fftn` do not use `order` parameter.
This PR suggests to update these tests to use input data with different
orders. 8f05542
vtavana pushed a commit that referenced this pull request Dec 17, 2024
This PR suggests updating the helper function
`generate_random_numpy_array()` by adding an argument `order` to
generate arrays in different orders

Additionally 
Input generation for tests was changed in #2227 , now `test_fft2` and
`test_fftn` do not use `order` parameter.
This PR suggests to update these tests to use input data with different
orders.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants