Closed
Description
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
Issues in SIMD (fast instruction sets) code or machineryIssues in SIMD (fast instruction sets) code or machinery