changed notation, task[Index,Count]_[x,y,z] -> task[Index,Count][1,2,3]. Change launch <<< nx,ny,nz >>> into launch [nx,ny,nz] or equivalent launch [nz][ny][nx]. Programmer can pick the one the is liked the most

This commit is contained in:
Evghenii
2013-10-24 13:16:23 +02:00
parent e6c8765891
commit 43761173ec
7 changed files with 122 additions and 120 deletions

6
func.h
View File

@@ -61,9 +61,9 @@ private:
Symbol *maskSymbol;
Symbol *threadIndexSym, *threadCountSym;
Symbol *taskIndexSym, *taskCountSym;
Symbol *taskIndexSym_x, *taskCountSym_x;
Symbol *taskIndexSym_y, *taskCountSym_y;
Symbol *taskIndexSym_z, *taskCountSym_z;
Symbol *taskIndexSym1, *taskCountSym1;
Symbol *taskIndexSym2, *taskCountSym2;
Symbol *taskIndexSym3, *taskCountSym3;
};
#endif // ISPC_FUNC_H