diff options
| author | Tor Aamodt <[email protected]> | 2010-08-30 11:05:15 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-30 11:05:15 -0800 |
| commit | bb820c116764d7a1b8e071137d32b74e7f34dd2f (patch) | |
| tree | 313d6794087adc13490963b1f847bcc88ccdc0dd /src/gpgpusim_entrypoint.cc | |
| parent | 80e1b49ff823190d0316623d414a343575c93eae (diff) | |
integrating CL 7421-7434 from fermi-test
this integrates the ptxplus functional model changes, but has only been
verified with CUDA 3.1 PTX regressions (which pass)
still need to verify ptxplus itself is working in this branch
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7435]
Diffstat (limited to 'src/gpgpusim_entrypoint.cc')
| -rw-r--r-- | src/gpgpusim_entrypoint.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc index 2f304b7..5cd7d7f 100644 --- a/src/gpgpusim_entrypoint.cc +++ b/src/gpgpusim_entrypoint.cc @@ -92,7 +92,12 @@ void gpgpu_ptx_sim_init_perf() ptx_reg_options(opp); option_parser_cmdline(opp, sg_argc, sg_argv); // parse configuration options - srand(1); + srand(1); + + // Open instructions debug output file for writing + if(g_ptx_inst_debug_to_file != 0) { + ptx_inst_debug_file = fopen(g_ptx_inst_debug_file, "w"); + } fprintf(stdout, "GPGPU-Sim: Configuration options:\n\n"); option_parser_print(opp, stdout); |
