diff options
| author | Andrew M. B. Boktor <[email protected]> | 2012-08-17 14:45:03 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:48:54 -0700 |
| commit | 9b49af32a493752503cd414e5a15063ac0bc98a1 (patch) | |
| tree | 366f3f8d300711222f39e84b659100052411ace7 /libcuda/cuobjdump.l | |
| parent | 7757c7e26172c5d6452ba2b1b051df3fd28505d3 (diff) | |
On demand loading of fatbins
Experimental library support (diff abstract_hardware_model.cc) (currently broken because of undocumented cudaGetExportTable function in the cuda rt api)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13793]
Diffstat (limited to 'libcuda/cuobjdump.l')
| -rw-r--r-- | libcuda/cuobjdump.l | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libcuda/cuobjdump.l b/libcuda/cuobjdump.l index e782c17..d264338 100644 --- a/libcuda/cuobjdump.l +++ b/libcuda/cuobjdump.l @@ -107,13 +107,14 @@ newlines {newline}+ <header>"has debug info"{newline} /* Looking for the identifier (filename) then the header is done */ -<endheader>[[:alnum:]_\.]+ yylval.string_value = strdup(yytext); yy_pop_state(); return FILENAME; + /* <endheader>[[:alnum:]_\./]+ yylval.string_value = strdup(yytext); yy_pop_state(); return FILENAME; */ +<endheader>{notnewline}+ yylval.string_value = strdup(yytext); yy_pop_state(); return FILENAME; {newline} return NEWLINE; /*Reached end of file*/ -<<EOF>> return 0; +<<EOF>> BEGIN(INITIAL);return 0; /*No other rule matched. Throw an error*/ . cuobjdump_error("Invalid token"); |
