You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some tests failed after building taichi in release mode with clang++12.
To Reproduce
Set CMAKE_CXX_COMPILER to clang++12
$ git clone https://taichi-dev/taichi
$ cd taichi
$ git submodule update --init --recursive
$ python3 setup.py develop --user
$ ti test -vfr2 -t2 -k "not ndarray and not torch"
========================================= FAILURES =========================================
__________________________ python/taichi/tests/test_bitmasked.py ___________________________
[gw3] linux -- Python 3.8.10 /usr/bin/python3
worker 'gw3' crashed while running 'python/taichi/tests/test_bitmasked.py::test_basic'
__________________________ python/taichi/tests/test_bitmasked.py ___________________________
[gw6] linux -- Python 3.8.10 /usr/bin/python3
worker 'gw6' crashed while running 'python/taichi/tests/test_bitmasked.py::test_basic_packed'
________________________ python/taichi/tests/test_sparse_basics.py _________________________
[gw9] linux -- Python 3.8.10 /usr/bin/python3
worker 'gw9' crashed while running 'python/taichi/tests/test_sparse_basics.py::test_pointer_is_active'
===================================== warnings summary =====================================
../../.local/lib/python3.8/site-packages/autograd/numpy/numpy_wrapper.py:20: 40 warnings
/home/taichigraphics/.local/lib/python3.8/site-packages/autograd/numpy/numpy_wrapper.py:20: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
int_types = {_np.int, _np.int8, _np.int16, _np.int32, _np.int64, _np.integer}
-- Docs: https://docs.pytest.org/en/stable/warnings.html
======================== xdist: maximum crashed workers reached: 8 =========================
================================= short test summary info ==================================
FAILED python/taichi/tests/test_bitmasked.py::test_basic
FAILED python/taichi/tests/test_bitmasked.py::test_basic_packed
FAILED python/taichi/tests/test_sparse_basics.py::test_pointer_is_active
============= 3 failed, 818 passed, 40 warnings, 6 rerun in 1322.51s (0:22:02) =============
>>> Running time: 1322.65s
Also here is a minimal program to reproduce one of the failures which is subtracted from the tests
Describe the bug
Some tests failed after building taichi in release mode with clang++12.
To Reproduce
Set
CMAKE_CXX_COMPILER
toclang++12
Also here is a minimal program to reproduce one of the failures which is subtracted from the tests
The text was updated successfully, but these errors were encountered: