diff options
| author | Mengchi Zhang <[email protected]> | 2019-06-12 13:02:19 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-12 13:02:19 -0400 |
| commit | c5578dade2fef7985bf1b26a7f3ae78896c96b69 (patch) | |
| tree | f92e42961c0fda60a5f22383490831dcf1cc900b /src/cuda-sim/ptxinfo.l | |
| parent | 35b55f5313d079327be9e6c91de5a53a01030e3e (diff) | |
| parent | 7a6ff7084c1c65450775b4d58e80f8c789888815 (diff) | |
Merge pull request #16 from echoedit/dev
Dev
Diffstat (limited to 'src/cuda-sim/ptxinfo.l')
| -rw-r--r-- | src/cuda-sim/ptxinfo.l | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cuda-sim/ptxinfo.l b/src/cuda-sim/ptxinfo.l index 92f7a30..b0ada09 100644 --- a/src/cuda-sim/ptxinfo.l +++ b/src/cuda-sim/ptxinfo.l @@ -89,7 +89,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. extern int g_ptxinfo_error_detected; extern const char *g_filename; -extern const char *g_ptxinfo_filename; int ptxinfo_error(yyscan_t yyscanner, ptxinfo_data* ptxinfo, const char* msg) { @@ -99,7 +98,7 @@ int ptxinfo_error(yyscan_t yyscanner, ptxinfo_data* ptxinfo, const char* msg) fflush(stdout); printf("GPGPU-Sim: ERROR while parsing output of ptxas (used to capture resource usage information)\n"); if( msg != NULL ) - printf("GPGPU-Sim: %s (%s:%u) Syntax error:\n\n", g_filename, g_ptxinfo_filename, yylineno ); + printf("GPGPU-Sim: %s (%s:%u) Syntax error:\n\n", g_filename, ptxinfo->g_ptxinfo_filename, yylineno ); printf(" %s\n", ptxinfo->linebuf ); printf(" "); for( i=0; i < ptxinfo->col-1; i++ ) { |
