diff options
| author | gpgpu-sim <[email protected]> | 2016-07-04 14:49:07 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-07-04 14:49:07 -0700 |
| commit | d90b6ad29a7cb24841841f7c54fcb4c2b1e929eb (patch) | |
| tree | aab816c03efb97100868528d4381472e5d82168c /src/cuda-sim/ptxinfo.l | |
| parent | af4eee53ad30bb58c3ee53da71845ac95aa517e0 (diff) | |
| parent | f7c57e76c086ce417626f37ffc91097c839c687d (diff) | |
Merge pull request #26 from sspenst/dev
Additional support for CUDA 7.5
Diffstat (limited to 'src/cuda-sim/ptxinfo.l')
| -rw-r--r-- | src/cuda-sim/ptxinfo.l | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cuda-sim/ptxinfo.l b/src/cuda-sim/ptxinfo.l index 99ee1fc..33c2748 100644 --- a/src/cuda-sim/ptxinfo.l +++ b/src/cuda-sim/ptxinfo.l @@ -59,6 +59,11 @@ unsigned ptxinfo_col = 0; "gmem" TC; return GMEM; "line" TC; return LINE; "for" TC; return FOR; +"textures" TC; return TEXTURES; +"error : Duplicate definition of" TC; return DUPLICATE; +"function" TC; ptxinfo_lval.string_value = strdup(yytext); return FUNCTION; +"variable" TC; ptxinfo_lval.string_value = strdup(yytext); return VARIABLE; +"fatal : Ptx assembly aborted due to errors" TC; return FATAL; [_A-Za-z$%][_0-9A-Za-z$]* TC; ptxinfo_lval.string_value = strdup(yytext); return IDENTIFIER; [-]{0,1}[0-9]+ TC; ptxinfo_lval.int_value = atoi(yytext); return INT_OPERAND; |
