diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-09 15:34:59 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-09 15:34:59 -0400 |
| commit | 460e779f45faa545c263e2d3316935b9fc083876 (patch) | |
| tree | 8d7a8fb41bfebf528f0f1a9d7c3011bca9de1c4d /src/cuda-sim/ptxinfo.l | |
| parent | 109a03655326ed23d26a3496589b21be51089bbb (diff) | |
| parent | b3655bf28a7402db347f9d7f87049806b9315a05 (diff) | |
Merge pull request #23 from echoedit/dev
Dev
Diffstat (limited to 'src/cuda-sim/ptxinfo.l')
| -rw-r--r-- | src/cuda-sim/ptxinfo.l | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cuda-sim/ptxinfo.l b/src/cuda-sim/ptxinfo.l index 3a152b0..51371e3 100644 --- a/src/cuda-sim/ptxinfo.l +++ b/src/cuda-sim/ptxinfo.l @@ -88,13 +88,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. %% -extern int g_ptxinfo_error_detected; - int ptxinfo_error(yyscan_t yyscanner, ptxinfo_data* ptxinfo, const char* msg) { struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; int i; - g_ptxinfo_error_detected = 1; + ptxinfo->gpgpu_ctx->func_sim->g_ptxinfo_error_detected = 1; fflush(stdout); printf("GPGPU-Sim: ERROR while parsing output of ptxas (used to capture resource usage information)\n"); if( msg != NULL ) |
