Skip to content

MAINT: align test_dispatcher s390x targets with _umath_tests_mtargets#24772

Merged
seiko2plus merged 1 commit intonumpy:mainfrom
cbouss:test_dispatcher_s390x
Sep 22, 2023
Merged

MAINT: align test_dispatcher s390x targets with _umath_tests_mtargets#24772
seiko2plus merged 1 commit intonumpy:mainfrom
cbouss:test_dispatcher_s390x

Conversation

@cbouss
Copy link
Copy Markdown
Contributor

@cbouss cbouss commented Sep 21, 2023

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.

@charris charris added 03 - Maintenance 09 - Backport-Candidate PRs tagged should be backported labels Sep 21, 2023
@charris charris changed the title align test_dispatcher s390x targets with _umath_tests_mtargets MAINT: align test_dispatcher s390x targets with _umath_tests_mtargets Sep 21, 2023
@seiko2plus seiko2plus merged commit 12ea98b into numpy:main Sep 22, 2023
@seiko2plus
Copy link
Copy Markdown
Member

Thank you, this fix should resolves #24750

@seiko2plus seiko2plus added the component: SIMD Issues in SIMD (fast instruction sets) code or machinery label Sep 22, 2023
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Sep 26, 2023
@charris
Copy link
Copy Markdown
Member

charris commented Sep 26, 2023

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

>       assert_equal(test["func"], "func" + highest_sfx)
E       AssertionError: 
E       Items are not equal:
E        ACTUAL: 'func'
E        DESIRED: 'func_VXE'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

03 - Maintenance component: SIMD Issues in SIMD (fast instruction sets) code or machinery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants