diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-11 11:10:28 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-11 11:10:28 -0400 |
| commit | aa12db699a540ea7b4ed4b913be6ef3155fc68d6 (patch) | |
| tree | ea1cede9a3dcd7afbbdc5d844135906e565e79e7 /src/gpgpusim_entrypoint.cc | |
| parent | 460e779f45faa545c263e2d3316935b9fc083876 (diff) | |
| parent | cf13f05351636d178ee30c3a57872c33ef5a4e47 (diff) | |
Merge pull request #24 from echoedit/dev
Dev
Diffstat (limited to 'src/gpgpusim_entrypoint.cc')
| -rw-r--r-- | src/gpgpusim_entrypoint.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc index d9d1023..816159f 100644 --- a/src/gpgpusim_entrypoint.cc +++ b/src/gpgpusim_entrypoint.cc @@ -207,13 +207,11 @@ void exit_simulation() fflush(stdout); } -extern bool g_cuda_launch_blocking; - gpgpu_sim *gpgpu_context::gpgpu_ptx_sim_init_perf() { srand(1); print_splash(); - read_sim_environment_variables(); + func_sim->read_sim_environment_variables(); ptx_parser->read_parser_environment_variables(); option_parser_t opp = option_parser_create(); @@ -233,7 +231,7 @@ gpgpu_sim *gpgpu_context::gpgpu_ptx_sim_init_perf() GPGPUsim_ctx_ptr()->g_the_gpu_config->init(); GPGPUsim_ctx_ptr()->g_the_gpu = new gpgpu_sim(*(GPGPUsim_ctx_ptr()->g_the_gpu_config), this); - GPGPUsim_ctx_ptr()->g_stream_manager = new stream_manager((GPGPUsim_ctx_ptr()->g_the_gpu),g_cuda_launch_blocking); + GPGPUsim_ctx_ptr()->g_stream_manager = new stream_manager((GPGPUsim_ctx_ptr()->g_the_gpu), func_sim->g_cuda_launch_blocking); GPGPUsim_ctx_ptr()->g_simulation_starttime = time((time_t *)NULL); |
