Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lang] Enable matrix representation in Frontend/CHI IR #5551

Closed
wants to merge 38 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
ab37bfe
init: the real matrix
AD1024 Jul 19, 2022
841b405
save: refactor matrix init
AD1024 Jul 21, 2022
2412238
fix some passes
AD1024 Jul 22, 2022
49d3d2b
PrintStmt for TensorType
AD1024 Jul 22, 2022
82df596
use MatrixInitStmt
AD1024 Jul 23, 2022
85b868b
try codegen
AD1024 Jul 23, 2022
2c746c6
finish codegen
AD1024 Jul 25, 2022
f21373c
[impl] basic indexing
AD1024 Jul 27, 2022
23656ab
format code
AD1024 Jul 27, 2022
1342f7c
[impl] basic operators step 1
AD1024 Jul 27, 2022
fb39d78
[fix] skip alg simp for some cases
AD1024 Jul 27, 2022
ef33ff1
add simple ad hoc shape check placeholder
AD1024 Jul 27, 2022
a90a901
save
AD1024 Aug 2, 2022
743393a
fix cfg pass
AD1024 Aug 3, 2022
e7cce02
Merge branch 'master' into impl-matrix
AD1024 Aug 4, 2022
b7fc15d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 4, 2022
ff8b73c
get rid of reduce
AD1024 Aug 5, 2022
378e61a
fix typo bug
AD1024 Aug 5, 2022
bcca7f5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 5, 2022
3132514
save
AD1024 Aug 9, 2022
25f2ed8
shape check for indexing
AD1024 Aug 9, 2022
46b3829
Merge branch 'impl-matrix' of github.com:AD1024/taichi into impl-matrix
AD1024 Aug 9, 2022
08a337c
format
AD1024 Aug 9, 2022
b493e12
remove log
AD1024 Aug 9, 2022
d3daeef
oopsss
AD1024 Aug 9, 2022
a868388
fix cfg for matrix
AD1024 Aug 9, 2022
feef9e8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 9, 2022
1e6511d
fix error for windows
AD1024 Aug 10, 2022
a32fa06
Merge branch 'impl-matrix' of github.com:AD1024/taichi into impl-matrix
AD1024 Aug 10, 2022
b94e0a5
format
AD1024 Aug 10, 2022
8490a62
wat
AD1024 Aug 10, 2022
4f1325d
format yet again
AD1024 Aug 10, 2022
acb9fd2
fix struct_for loop
AD1024 Aug 10, 2022
bdfb179
format yet yet again
AD1024 Aug 10, 2022
1b7315d
try fix loop
AD1024 Aug 10, 2022
3dddae8
add one more pick
AD1024 Aug 10, 2022
8699512
fix some cases
AD1024 Aug 11, 2022
c513682
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
oopsss
  • Loading branch information
AD1024 committed Aug 9, 2022
commit d3daeef2728dfab2d4e1c0cf35c78a911f1d0709
4 changes: 2 additions & 2 deletions taichi/transforms/cfg_optimization.cpp
Original file line number Diff line number Diff line change
@@ -21,8 +21,8 @@ bool cfg_optimization(
cfg->simplify_graph();
if (cfg->store_to_load_forwarding(after_lower_access, autodiff_enabled))
modified = true;
// if (cfg->dead_store_elimination(after_lower_access, lva_config_opt))
// modified = true;
if (cfg->dead_store_elimination(after_lower_access, lva_config_opt))
modified = true;
if (modified)
result_modified = true;
else