Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

intel_spr_sde_test fails now and then. #23545

Copy link
Copy link
Closed
@charris

Description

@charris
Issue body actions

The basic cause seems to be due to changing fp mode

    @pytest.fixture(scope="function", autouse=True)
    def check_fpu_mode(request):
        """
        Check FPU precision mode was not changed during the test.
        """
        old_mode = get_fpu_mode()
        yield
        new_mode = get_fpu_mode()
    
        if old_mode != new_mode:
>           raise AssertionError("FPU precision mode changed from {0:#x} to {1:#x}"
                                 " during the test".format(old_mode, new_mode))
E           AssertionError: FPU precision mode changed from 0x37f to 0x77f during the test

new_mode   = 1919
old_mode   = 895

There are also some wrong results, but I suspect they are related to the fp mode.
See https://github.com/numpy/numpy/actions/runs/4631776714/jobs/8195205969?pr=23542 for more detail.

@r-devulap Thoughts?

Metadata

Metadata

Assignees

Labels

component: SIMDIssues in SIMD (fast instruction sets) code or machineryIssues in SIMD (fast instruction sets) code or machinery

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.