Skip to content

Instantly share code, notes, and snippets.

@0xzhang
Created May 9, 2022 05:51
Show Gist options
  • Save 0xzhang/1929ad8d044671d05a3fac717c703843 to your computer and use it in GitHub Desktop.
Save 0xzhang/1929ad8d044671d05a3fac717c703843 to your computer and use it in GitHub Desktop.
Error in SIMT test
[Taichi] version 1.0.2, llvm 10.0.0, commit 73249031, linux, python 3.8.12
Namespace(arch=None, cov_append=None, coverage=None, cpp=True, exclusive=False, fail_fast=None, failed_first=None, files=[], keys='test_simt', marks=None, rerun=None, show_output=False, threads='1', verbose=False)
Running C++ tests...
Running Python tests...
Starting 1 testing thread(s)...
============================= test session starts ==============================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
rootdir: /mnt/d/Lernen/taichi/source/taichi, configfile: pyproject.toml
plugins: xdist-2.4.0, forked-1.3.0, rerunfailures-10.2, cov-3.0.0
collected 5772 items / 5737 deselected / 35 selected
tests/python/test_simt.py in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
FFFFFFin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
FFFFin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fin
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
F....n(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_main
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
FFn(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_main
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fn(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_main
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install
Fsssss [100%]
=================================== FAILURES ===================================
________________________ test_all_nonzero[arch=cuda-0] _________________________
@test_utils.test(arch=ti.cuda)
def test_all_nonzero():
a = ti.field(dtype=ti.i32, shape=32)
b = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.all_nonzero(ti.u32(0xFFFFFFFF), b[i])
for i in range(32):
> b[i] = 1
tests/python/test_simt.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f8190610eb0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:06.978 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
________________________ test_all_nonzero[arch=cuda-1] _________________________
@test_utils.test(arch=ti.cuda)
def test_all_nonzero():
a = ti.field(dtype=ti.i32, shape=32)
b = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.all_nonzero(ti.u32(0xFFFFFFFF), b[i])
for i in range(32):
> b[i] = 1
tests/python/test_simt.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f818065bdf0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:08.152 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
________________________ test_any_nonzero[arch=cuda-0] _________________________
@test_utils.test(arch=ti.cuda)
def test_any_nonzero():
a = ti.field(dtype=ti.i32, shape=32)
b = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.any_nonzero(ti.u32(0xFFFFFFFF), b[i])
for i in range(32):
> b[i] = 0
tests/python/test_simt.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81805a3580>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:08.640 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
________________________ test_any_nonzero[arch=cuda-1] _________________________
@test_utils.test(arch=ti.cuda)
def test_any_nonzero():
a = ti.field(dtype=ti.i32, shape=32)
b = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.any_nonzero(ti.u32(0xFFFFFFFF), b[i])
for i in range(32):
> b[i] = 0
tests/python/test_simt.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f8180594580>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:09.141 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
___________________________ test_unique[arch=cuda-0] ___________________________
@test_utils.test(arch=ti.cuda)
def test_unique():
a = ti.field(dtype=ti.u32, shape=32)
b = ti.field(dtype=ti.u32, shape=32)
@ti.kernel
def check():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.unique(ti.u32(0xFFFFFFFF), b[i])
for i in range(32):
> b[i] = 0
tests/python/test_simt.py:77:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81807580d0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:09.718 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
--------------------------- Captured stdout teardown ---------------------------
in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

___________________________ test_unique[arch=cuda-1] ___________________________
@test_utils.test(arch=ti.cuda)
def test_unique():
a = ti.field(dtype=ti.u32, shape=32)
b = ti.field(dtype=ti.u32, shape=32)
@ti.kernel
def check():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.unique(ti.u32(0xFFFFFFFF), b[i])
for i in range(32):
> b[i] = 0
tests/python/test_simt.py:77:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f8180680100>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:10.217 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
--------------------------- Captured stdout teardown ---------------------------
in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

___________________________ test_ballot[arch=cuda-0] ___________________________
@test_utils.test(arch=ti.cuda)
def test_ballot():
a = ti.field(dtype=ti.u32, shape=32)
b = ti.field(dtype=ti.u32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.ballot(b[i])
key = 0
for i in range(32):
> b[i] = i % 2
tests/python/test_simt.py:114:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81805792e0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:10.717 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
--------------------------- Captured stdout teardown ---------------------------
in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

___________________________ test_ballot[arch=cuda-1] ___________________________
@test_utils.test(arch=ti.cuda)
def test_ballot():
a = ti.field(dtype=ti.u32, shape=32)
b = ti.field(dtype=ti.u32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.ballot(b[i])
key = 0
for i in range(32):
> b[i] = i % 2
tests/python/test_simt.py:114:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81805b4760>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:11.217 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
--------------------------- Captured stdout teardown ---------------------------
in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

_______________________ test_shfl_sync_i32[arch=cuda-0] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_sync_i32():
a = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_sync_i32(ti.u32(0xFFFFFFFF), a[i], 0)
for i in range(32):
> a[i] = i + 1
tests/python/test_simt.py:134:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f8180630610>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:11.738 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
--------------------------- Captured stdout teardown ---------------------------
in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

_______________________ test_shfl_sync_i32[arch=cuda-1] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_sync_i32():
a = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_sync_i32(ti.u32(0xFFFFFFFF), a[i], 0)
for i in range(32):
> a[i] = i + 1
tests/python/test_simt.py:134:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f818076b8e0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:12.234 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
_______________________ test_shfl_sync_f32[arch=cuda-0] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_sync_f32():
a = ti.field(dtype=ti.f32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_sync_f32(ti.u32(0xFFFFFFFF), a[i], 0)
for i in range(32):
> a[i] = i + 1.0
tests/python/test_simt.py:153:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f818069b5e0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:12.818 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
--------------------------- Captured stdout teardown ---------------------------
in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

_______________________ test_shfl_sync_f32[arch=cuda-1] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_sync_f32():
a = ti.field(dtype=ti.f32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_sync_f32(ti.u32(0xFFFFFFFF), a[i], 0)
for i in range(32):
> a[i] = i + 1.0
tests/python/test_simt.py:153:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f818074f970>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:13.322 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
--------------------------- Captured stdout teardown ---------------------------
in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

________________________ test_shfl_xor_i32[arch=cuda-0] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_xor_i32():
a = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
for j in range(5):
offset = 1 << j
a[i] += ti.simt.warp.shfl_xor_i32(ti.u32(0xFFFFFFFF), a[i],
offset)
value = 0
for i in range(32):
> a[i] = i
tests/python/test_simt.py:182:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f818060e940>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:13.825 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
--------------------------- Captured stdout teardown ---------------------------
in
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

________________________ test_shfl_xor_i32[arch=cuda-1] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_xor_i32():
a = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
for j in range(5):
offset = 1 << j
a[i] += ti.simt.warp.shfl_xor_i32(ti.u32(0xFFFFFFFF), a[i],
offset)
value = 0
for i in range(32):
> a[i] = i
tests/python/test_simt.py:182:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f8180593880>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:14.347 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
_______________________ test_shfl_down_i32[arch=cuda-0] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_down_i32():
a = ti.field(dtype=ti.i32, shape=32)
b = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_down_i32(ti.u32(0xFFFFFFFF), b[i], 1)
for i in range(32):
> b[i] = i * i
tests/python/test_simt.py:203:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81806929d0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:14.848 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
_______________________ test_shfl_down_i32[arch=cuda-1] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_down_i32():
a = ti.field(dtype=ti.i32, shape=32)
b = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_down_i32(ti.u32(0xFFFFFFFF), b[i], 1)
for i in range(32):
> b[i] = i * i
tests/python/test_simt.py:203:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81806dbbe0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:15.348 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
________________________ test_shfl_up_i32[arch=cuda-0] _________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_up_i32():
a = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_up_i32(ti.u32(0xFFFFFFFF), a[i], 1)
for i in range(32):
> a[i] = i * i
tests/python/test_simt.py:224:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81806795e0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:15.847 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
________________________ test_shfl_up_i32[arch=cuda-1] _________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_up_i32():
a = ti.field(dtype=ti.i32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_up_i32(ti.u32(0xFFFFFFFF), a[i], 1)
for i in range(32):
> a[i] = i * i
tests/python/test_simt.py:224:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81807b89d0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:16.452 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
________________________ test_shfl_up_f32[arch=cuda-0] _________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_up_f32():
a = ti.field(dtype=ti.f32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_up_f32(ti.u32(0xFFFFFFFF), a[i], 1)
for i in range(32):
> a[i] = i * i * 0.9
tests/python/test_simt.py:243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f818074c700>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:16.969 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
________________________ test_shfl_up_f32[arch=cuda-1] _________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_up_f32():
a = ti.field(dtype=ti.f32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_up_f32(ti.u32(0xFFFFFFFF), a[i], 1)
for i in range(32):
> a[i] = i * i * 0.9
tests/python/test_simt.py:243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81806168b0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:17.471 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
_______________________ test_shfl_down_f32[arch=cuda-0] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_down_f32():
a = ti.field(dtype=ti.f32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_down_f32(ti.u32(0xFFFFFFFF), a[i], 1)
for i in range(32):
> a[i] = i * i * 0.9
tests/python/test_simt.py:262:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81806a6a30>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:17.972 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
_______________________ test_shfl_down_f32[arch=cuda-1] ________________________
@test_utils.test(arch=ti.cuda)
def test_shfl_down_f32():
a = ti.field(dtype=ti.f32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = ti.simt.warp.shfl_down_f32(ti.u32(0xFFFFFFFF), a[i], 1)
for i in range(32):
> a[i] = i * i * 0.9
tests/python/test_simt.py:262:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/util.py:297: in wrapped
return func(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:329: in __setitem__
self._initialize_host_accessors()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/field.py:241: in _initialize_host_accessors
taichi.lang.impl.get_runtime().materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81806bb1c0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:18.475 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x1b887c) [0x55a52cc4087c]
python(_PyEval_EvalFrameDefault+0x1372) [0x55a52cc5edc2]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_ma
________________________ test_active_mask[arch=cuda-0] _________________________
@test_utils.test(arch=ti.cuda)
def test_active_mask():
a = ti.field(dtype=ti.u32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=16)
for i in range(32):
a[i] = ti.simt.warp.active_mask()
> foo()
tests/python/test_simt.py:292:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:868: in wrapped
return primal(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:798: in __call__
key = self.ensure_compiled(*args)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:785: in ensure_compiled
self.materialize(key=key, args=args, arg_features=arg_features)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:488: in materialize
self.runtime.materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f8180623370>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:20.694 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x9cf98) [0x55a52cb24f98]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
pytho
________________________ test_active_mask[arch=cuda-1] _________________________
@test_utils.test(arch=ti.cuda)
def test_active_mask():
a = ti.field(dtype=ti.u32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=16)
for i in range(32):
a[i] = ti.simt.warp.active_mask()
> foo()
tests/python/test_simt.py:292:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:868: in wrapped
return primal(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:798: in __call__
key = self.ensure_compiled(*args)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:785: in ensure_compiled
self.materialize(key=key, args=args, arg_features=arg_features)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:488: in materialize
self.runtime.materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81805d0ee0>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:21.328 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x9cf98) [0x55a52cb24f98]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
pytho
--------------------------- Captured stdout teardown ---------------------------
n(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(PyEval_EvalCode+0x23) [0x55a52cc55aa3]
python(+0x241382) [0x55a52ccc9382]
python(+0x252202) [0x55a52ccda202]
python(+0x2553ab) [0x55a52ccdd3ab]
python(PyRun_SimpleFileExFlags+0x1bf) [0x55a52ccdd58f]
python(Py_RunMain+0x3a9) [0x55a52ccdda69]
python(Py_BytesMain+0x39) [0x55a52ccddc69]
/lib/x86_64-linux-gnu/libc.so.6: __libc_start_main
python(+0x1f7427) [0x55a52cc7f427]

Internal error occurred. Check out this page for possible solutions:
https://docs.taichi-lang.org/lang/articles/install

____________________________ test_sync[arch=cuda-0] ____________________________
@test_utils.test(arch=ti.cuda)
def test_sync():
a = ti.field(dtype=ti.u32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = i
ti.simt.warp.sync(ti.u32(0xFFFFFFFF))
for i in range(16):
a[i] = a[i + 16]
> foo()
tests/python/test_simt.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:868: in wrapped
return primal(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:798: in __call__
key = self.ensure_compiled(*args)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:785: in ensure_compiled
self.materialize(key=key, args=args, arg_features=arg_features)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:488: in materialize
self.runtime.materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f8180693640>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:21.866 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x9cf98) [0x55a52cb24f98]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
pytho
____________________________ test_sync[arch=cuda-1] ____________________________
@test_utils.test(arch=ti.cuda)
def test_sync():
a = ti.field(dtype=ti.u32, shape=32)
@ti.kernel
def foo():
ti.loop_config(block_dim=32)
for i in range(32):
a[i] = i
ti.simt.warp.sync(ti.u32(0xFFFFFFFF))
for i in range(16):
a[i] = a[i + 16]
> foo()
tests/python/test_simt.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:868: in wrapped
return primal(*args, **kwargs)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:798: in __call__
key = self.ensure_compiled(*args)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:785: in ensure_compiled
self.materialize(key=key, args=args, arg_features=arg_features)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/kernel_impl.py:488: in materialize
self.runtime.materialize()
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:323: in materialize
self.materialize_root_fb(not self.materialized)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/lang/impl.py:277: in materialize_root_fb
root.finalize(raise_warning=not is_first_call)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:135: in finalize
return self._finalize(raise_warning, compile_only=False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <taichi._snode.fields_builder.FieldsBuilder object at 0x7f81805d0d00>
raise_warning = False, compile_only = False
def _finalize(self, raise_warning, compile_only):
self._check_not_finalized()
if self.empty and raise_warning:
warning("Finalizing an empty FieldsBuilder!")
self.finalized = True
return SNodeTree(
> _ti_core.finalize_snode_tree(_snode_registry, self.ptr,
impl.get_runtime().prog,
compile_only))
E RuntimeError: [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_snode/fields_builder.py:147: RuntimeError
---------------------------- Captured stdout setup -----------------------------
[Taichi] Starting on arch=cuda
----------------------------- Captured stdout call -----------------------------
[E 05/09/22 02:32:22.396 11534] [cuda_driver.h:operator()@87] CUDA Error CUDA_ERROR_INVALID_VALUE: invalid argument while calling memset (cuMemsetD8_v2)
***********************************
* Taichi Compiler Stack Traceback *
***********************************
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5dbb40) [0x7f8255325b40]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x5d2c3d) [0x7f825531cc3d]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so: taichi::lang::Program::add_snode_tree(std::unique_ptr<taichi::lang::SNode, std::default_delete<taichi::lang::SNode> >, bool)
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x987e21) [0x7f82556d1e21]
/home/zrs/conda/envs/taichi-dev/lib/python3.8/site-packages/taichi-1.0.2-py3.8-linux-x86_64.egg/taichi/_lib/core/taichi_core.cpython-38-x86_64-linux-gnu.so(+0x9d9eea) [0x7f8255723eea]
python(+0x13c7ae) [0x55a52cbc47ae]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x5437) [0x55a52cc62e87]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x9cf98) [0x55a52cb24f98]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x888) [0x55a52cc54818]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x4bf) [0x55a52cc5df0f]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(PyObject_Call+0x45d) [0x55a52cbbf95d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x1517) [0x55a52cc5ef67]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(PyObject_Call+0x7d) [0x55a52cbbf57d]
python(_PyEval_EvalFrameDefault+0x1dd3) [0x55a52cc5f823]
python(_PyEval_EvalCodeWithName+0xd5f) [0x55a52cc54cef]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(+0x166bde) [0x55a52cbeebde]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x594) [0x55a52cc557b4]
python(_PyObject_FastCallDict+0xe7) [0x55a52cbe6797]
python(+0x194bbb) [0x55a52cc1cbbb]
python(_PyObject_MakeTpCall+0x3bf) [0x55a52cbb925f]
python(_PyEval_EvalFrameDefault+0x540a) [0x55a52cc62e5a]
python(_PyEval_EvalCodeWithName+0x260) [0x55a52cc541f0]
python(_PyFunction_Vectorcall+0x534) [0x55a52cc55754]
python(_PyEval_EvalFrameDefault+0x4f81) [0x55a52cc629d1]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
python(_PyEval_EvalFrameDefault+0x71a) [0x55a52cc5e16a]
python(_PyFunction_Vectorcall+0x1b7) [0x55a52cc553d7]
pythotests/run_tests.py:26: UserWarning: C++ tests are skipped due to missing taichi_cpp_tests in /mnt/d/Lernen/taichi/source/taichi/tests/../build.Try building taichi with `TAICHI_CMAKE_ARGS='-DTI_BUILD_TESTS:BOOL=ON' python setup.py develop`if you want to enable it.
warnings.warn(
=========================== short test summary info ============================
FAILED tests/python/test_simt.py::test_all_nonzero[arch=cuda-0] - RuntimeErro...
FAILED tests/python/test_simt.py::test_all_nonzero[arch=cuda-1] - RuntimeErro...
FAILED tests/python/test_simt.py::test_any_nonzero[arch=cuda-0] - RuntimeErro...
FAILED tests/python/test_simt.py::test_any_nonzero[arch=cuda-1] - RuntimeErro...
FAILED tests/python/test_simt.py::test_unique[arch=cuda-0] - RuntimeError: [c...
FAILED tests/python/test_simt.py::test_unique[arch=cuda-1] - RuntimeError: [c...
FAILED tests/python/test_simt.py::test_ballot[arch=cuda-0] - RuntimeError: [c...
FAILED tests/python/test_simt.py::test_ballot[arch=cuda-1] - RuntimeError: [c...
FAILED tests/python/test_simt.py::test_shfl_sync_i32[arch=cuda-0] - RuntimeEr...
FAILED tests/python/test_simt.py::test_shfl_sync_i32[arch=cuda-1] - RuntimeEr...
FAILED tests/python/test_simt.py::test_shfl_sync_f32[arch=cuda-0] - RuntimeEr...
FAILED tests/python/test_simt.py::test_shfl_sync_f32[arch=cuda-1] - RuntimeEr...
FAILED tests/python/test_simt.py::test_shfl_xor_i32[arch=cuda-0] - RuntimeErr...
FAILED tests/python/test_simt.py::test_shfl_xor_i32[arch=cuda-1] - RuntimeErr...
FAILED tests/python/test_simt.py::test_shfl_down_i32[arch=cuda-0] - RuntimeEr...
FAILED tests/python/test_simt.py::test_shfl_down_i32[arch=cuda-1] - RuntimeEr...
FAILED tests/python/test_simt.py::test_shfl_up_i32[arch=cuda-0] - RuntimeErro...
FAILED tests/python/test_simt.py::test_shfl_up_i32[arch=cuda-1] - RuntimeErro...
FAILED tests/python/test_simt.py::test_shfl_up_f32[arch=cuda-0] - RuntimeErro...
FAILED tests/python/test_simt.py::test_shfl_up_f32[arch=cuda-1] - RuntimeErro...
FAILED tests/python/test_simt.py::test_shfl_down_f32[arch=cuda-0] - RuntimeEr...
FAILED tests/python/test_simt.py::test_shfl_down_f32[arch=cuda-1] - RuntimeEr...
FAILED tests/python/test_simt.py::test_active_mask[arch=cuda-0] - RuntimeErro...
FAILED tests/python/test_simt.py::test_active_mask[arch=cuda-1] - RuntimeErro...
FAILED tests/python/test_simt.py::test_sync[arch=cuda-0] - RuntimeError: [cud...
FAILED tests/python/test_simt.py::test_sync[arch=cuda-1] - RuntimeError: [cud...
========== 26 failed, 4 passed, 5 skipped, 5737 deselected in 41.50s ===========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment