[WASM] Add set_root() for each WASM module (#2429)
[WASM] Add set_root() for each WASM module (#2429)

* [wasm] Fuse all offloaded task into single function

* [wasm] Add get_root() function into each wasm module

* [wasm] Rename get_root() into get_root_address() and add set_root()

* [wasm] Clean up function name in wasm module

* [wasm] Fix clean up function name for jit evaluator

* [wasm] Clean up comments and set runtime address to zero

* Auto Format

* Update taichi/backends/wasm/codegen_wasm.cpp

Co-authored-by: Ye Kuang <4b45f682edc0f60a7ee973114ff9390ff2416366@users.noreply.github.com>

* [wasm] Update comments and make non-zero first arg valid for set_root() function

* Update taichi/backends/wasm/codegen_wasm.cpp

* Update taichi/backends/wasm/codegen_wasm.cpp

Co-authored-by: Ye Kuang <4b45f682edc0f60a7ee973114ff9390ff2416366@users.noreply.github.com>

* Update taichi/backends/wasm/codegen_wasm.cpp

* Auto Format

Co-authored-by: Taichi Gardener <52844ac7498fba84f633481a7c3ae54491811c81@gmail.com>
Co-authored-by: Ye Kuang <4b45f682edc0f60a7ee973114ff9390ff2416366@users.noreply.github.com>
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi