-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <[email protected]> * [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 <[email protected]> * Update taichi/backends/wasm/codegen_wasm.cpp * Auto Format Co-authored-by: Taichi Gardener <[email protected]> Co-authored-by: Ye Kuang <[email protected]>
- Loading branch information
1 parent
a719ff8
commit 030998f
Showing
1 changed file
with
198 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters