PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Taichi

Taichi

Taichi is a pl created in 2019 by Yuanming Hu.

#488on PLDB 3Years Old 26.2kUsers
0Books 0Papers

Taichi Lang is an open-source, imperative, parallel programming language for high-performance numerical computation. It is embedded in Python and uses just-in-time (JIT) compiler frameworks, for example LLVM, to offload the compute-intensive Python code to the native GPU or CPU instructions.


Example from the web:
// For CPU Parallelize(int num_threads) // Multi-threading Vectorize(int width) // Loop vectorization // For GPU BlockDim(int blockDim) // Specify GPU block size // For scratchpad optimization AssumeInRange(Expr base, int lower, int upper) Cache(Expr) // Cache data into GPU L1 cache CacheL1(Expr) More discussions on h

Language features

Feature Supported Example Token
Comments
// A comment
Line Comments
// A comment
//
Semantic Indentation ϴ
musicxml.html · taichi.html · p4.html

View source

PLDB - Build the next great programming language · v2022 · Day 33 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com