launch now passes the right info into tasking
This commit is contained in:
5
expr.h
5
expr.h
@@ -246,7 +246,8 @@ public:
|
||||
class FunctionCallExpr : public Expr {
|
||||
public:
|
||||
FunctionCallExpr(Expr *func, ExprList *args, SourcePos p,
|
||||
bool isLaunch = false, Expr *launchCountExpr = NULL);
|
||||
bool isLaunch = false,
|
||||
Expr *launchCountExpr[3] = (Expr*[3]){NULL, NULL, NULL});
|
||||
|
||||
llvm::Value *GetValue(FunctionEmitContext *ctx) const;
|
||||
llvm::Value *GetLValue(FunctionEmitContext *ctx) const;
|
||||
@@ -261,7 +262,7 @@ public:
|
||||
Expr *func;
|
||||
ExprList *args;
|
||||
bool isLaunch;
|
||||
Expr *launchCountExpr;
|
||||
Expr *launchCountExpr[3];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user