MeshTaichi not working on GPU
Hello. MeshTaichi offers a very promising functionalities for engineering applications with complex (realistic) geometries.
I'm trying the meshTaichi example 'vertex_normal' using Taichi 1.7.3 and meshtaichi-patcher 0.0.19. It run correctly CPU, but do not work on GPU:
-
Command line: python normal.py --arch GPU
-
Outputs on terminal: [Taichi] version 1.7.3, llvm 15.0.4, commit 5ec301be, linux, python 3.12.9 [Taichi] Starting on arch=cuda [E 06/23/25 09:29:57.970 37728] [scalarize.cpp:scalarize_store_stmt@56] Assertion failure: stmt->val->template is<MatrixInitStmt>() terminate called after throwing an instance of 'std::__cxx11::basic_string<char, std::char_traits
, std::allocator >' Aborted (core dumped)
It looks like there is (at least) an issue in scalarize.cpp. Maybe due to compatibility issues wrt the latest Taichi version I'm using? Thanks in advance for your help!