GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — MAINT: align test_dispatcher s390x targets with _umath_tests_mtargets by charris · Pull Request #24814 · numpy/numpy

Conversation

@charris

@charris charris commented Sep 26, 2023

Copy link
Copy Markdown
Member

Backport of #24772.

This updates https://github.com/numpy/numpy/blob/main/numpy/core/tests/test_cpu_dispatcher.py#L12 targets matching what is set at https://github.com/numpy/numpy/blob/main/numpy/core/meson.build#L688 (i.e. adding VE and VXE).

This was discovered when testing an s390x build with optimization on.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cbouss @charris
align test_dispatcher s390x targets with _umath_tests_mtargets
87963b2
@charris charris added 03 - Maintenance 08 - Backport Used to tag backport PRs component: SIMD Issues in SIMD (fast instruction sets) code or machinery labels Sep 26, 2023
@charris charris added this to the 1.26.1 release milestone Sep 26, 2023
@charris charris mentioned this pull request Sep 26, 2023
MAINT: align test_dispatcher s390x targets with _umath_tests_mtargets #24772
Merged
@rgommers

rgommers commented Sep 28, 2023

Copy link
Copy Markdown
Member

The one test failure on TravisCI looks real, as noted on the original PR at #24772 (comment)

_______________________________ test_dispatcher ________________________________
...
>       assert_equal(test["func"], "func" + highest_sfx)
E       AssertionError: 
E       Items are not equal:
E        ACTUAL: 'func'
E        DESIRED: 'func_VXE'
all_sfx    = ['func_VXE', 'func_VX']
feature    = 'SSE2'
highest_sfx = '_VXE'
targets    = ('SSE2', 'SSE41', 'AVX2', 'VSX', 'VSX2', 'VSX3', ...)
test       = {'all': ['func'], 'func': 'func', 'func_xb': 'nobase', 'var': 'var', ...}
../../builds/venv/lib/python3.9/site-packages/numpy-1.26.0-py3.9-linux-s390x.egg/numpy/core/tests/test_cpu_dispatcher.py:32: AssertionError
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@charris charris mentioned this pull request Oct 11, 2023
ENH: meson: implement BLAS/LAPACK auto-detection and many CI jobs #24899
Merged
@charris charris modified the milestones: 1.26.1 release, 1.26.2 release Oct 12, 2023
@seiko2plus
Add VX targets for dispatch-able sources of the umath multi-targets t…
1c21b68
…ests
@seiko2plus

seiko2plus commented Nov 7, 2023

Copy link
Copy Markdown
Member

The #24814 backport failed a test on the travis s390x. Might be a problem with the test

My bad, VX/VXE CPU features were not tested before and I have included the meson script without updating the distutils dispatch-able sources .

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@charris
charris merged commit ce1adca into numpy:maintenance/1.26.x Nov 7, 2023
@charris

charris commented Nov 7, 2023

Copy link
Copy Markdown
Member Author

Thanks for the update Sayed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@charris
charris deleted the backport-24772 branch November 8, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

03 - Maintenance 08 - Backport Used to tag backport PRs component: SIMD Issues in SIMD (fast instruction sets) code or machinery

Projects

None yet

Milestone

1.26.2 release

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@charris @rgommers @seiko2plus @cbouss
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.