dpnp icon indicating copy to clipboard operation
dpnp copied to clipboard

Gumbel distribution in random gives SegFault in the end of program execution (freeing resources)

Open Alexander-Makaryev opened this issue 4 years ago • 2 comments

$ pytest tests/test_random.py::TestDistributionsGumbel
============================================================================================================ test session starts ============================================================================================================
platform linux -- Python 3.7.7, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: /localdisk/work/amakarye/git/dpnp, inifile: setup.cfg
plugins: hypothesis-6.1.1
collecting ...
DPNP: current queue is CPU: 0
DPNP: version: 0.5.0

collected 4 items

tests/test_random.py ....                                                                                                                                                                                                             [100%]

============================================================================================================= 4 passed in 0.29s =============================================================================================================
Segmentation fault (core dumped)

Alexander-Makaryev avatar Feb 02 '21 12:02 Alexander-Makaryev

@Alexander-Makaryev there is no need in #570 . I have already PR #560 .

samir-nasibli avatar Feb 02 '21 12:02 samir-nasibli

We should use math library but not our own implementations where it is possible. So I think that we want to save this issue and revert changes https://github.com/IntelPython/dpnp/pull/560 when fix in third party components will be provided.

Alexander-Makaryev avatar Feb 04 '21 09:02 Alexander-Makaryev