MyGit

v1.4.0

taichi-dev/taichi

版本发布时间: 2023-01-16 17:26:41

taichi-dev/taichi最新发布版本:v1.7.2(2024-08-22 16:59:46)

Deprecation Notice

New features

AOT

Taichi AOT is officially available in Taichi v1.4.0, along with a native Taichi Runtime (TiRT) library taichi_c_api. Native applications can now load compiled AOT modules and launch Taichi kernels without a Python interpreter.

In this release, TiRT has stabilized the Vulkan backend on desktop platforms and Android. You can find prebuilt TiRT binaries on the release page. You can refer to a comprehensive tutorial on the doc site; the detailed TiRT C-API documentation is available at https://docs.taichi-lang.org/docs/taichi_core.

Ndarray

Taichi ndarray is now formally released in v1.4.0. The ndarray is an array object that holds contiguous multi-dimensional data to allow easy exchange with external libraries. See documentation for more details.

Dynamic index

Before v1.4.0, when you wanted to access a vector/matrix with a runtime variable instead of a compile-time constant, you had to set ti.init(dynamic_index=True). However, that option only works for LLVM-based backends (CPU & CUDA) and may slow down runtime performance because all matrices are affected. Starting from v1.4.0, that option is no longer needed. You can use variable indices whenever necessary on all backends without affecting the performance of those matrices with only constant indices.

Improvements

Performance

Example list & ti gallery

Since v1.0.0, we have been enriching our taichi example collection, bringing the number of demos in the gallery window from eight to twelve. Run ti gallery to check out some new demos! image

Bug fixes

Highlights:

Full changelog:

相关地址:原始地址 下载(tar) 下载(zip)

1、 taichi_c_api-v1.4.0-arm64-android-ndk23.zip 519.74KB

2、 taichi_c_api-v1.4.0-arm64-macos-xcode13.zip 4.74MB

3、 taichi_c_api-v1.4.0-x64-windows-vs2022.zip 5.97MB

查看:2023-01-16发行的版本