diff options
| author | Amruth <[email protected]> | 2018-04-04 16:01:32 -0700 |
|---|---|---|
| committer | Amruth <[email protected]> | 2018-04-04 16:01:32 -0700 |
| commit | 335bb4b38974b1843e1786c5d86b0fcf2a7943c8 (patch) | |
| tree | 2f64af7c718bdb7dc209322dc7aaac039e638d28 /src/cuda-sim/ptx_loader.cc | |
| parent | 31ad7674de6dc4b25ba862bcd00b660fdb1a5cff (diff) | |
Prog gets stuck because it doesnt recieve EOF
Diffstat (limited to 'src/cuda-sim/ptx_loader.cc')
| -rw-r--r-- | src/cuda-sim/ptx_loader.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_loader.cc b/src/cuda-sim/ptx_loader.cc index 7863be4..03ea31a 100644 --- a/src/cuda-sim/ptx_loader.cc +++ b/src/cuda-sim/ptx_loader.cc @@ -448,6 +448,9 @@ void gpgpu_ptxinfo_load_from_string( const char *p_for_info, unsigned source_num g_ptxinfo_filename = final_tempfile_ptxinfo; else g_ptxinfo_filename = tempfile_ptxinfo; + + //The program might get stuck because the parser didnt receive a EOF. + printf("NOTE: If the program is stuck, please press ctrl+d for ubuntu and ctrl+z for windows users \n"); ptxinfo_parse(); snprintf(commandline,1024,"rm -f *info"); |
