[GENERAL] Various improvements:

* Sparse einsum in triton.ops.einsum
* Hacky support for fixed-tile-size atomic-add
* Various bugfixes in parser
This commit is contained in:
Philippe Tillet
2020-10-25 11:55:58 -07:00
parent 6eddf940d2
commit 9be1d5afc2
16 changed files with 574 additions and 331 deletions

View File

@@ -650,7 +650,7 @@ Expr* Parser::ParseDerefOp(const Token* tok) {
Expr* pred = nullptr;
if(ts_.Try('?')){
ts_.Expect('(');
pred = ParseCastExpr();
pred = ParseExpr();
ts_.Expect(')');
}
Expr* addr = ParseCastExpr();