You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it can bypass timing simulation when choose func simulation mode,because I haved ran two situations in -gpgpu_ptx_sim_mode 1 and -gpgpu_ptx_sim_mode 0,the time of running in mode 1 is less than mode 0.
But when I try to find how in the source code,I meet some difficulties.
In gpgpu_entrypoint.cc,void *gpgpu_sim_thread_concurrent(void *ctx_ptr),it has code that
When I debug the code,I fine when I choose sim mode 1,ctx->the_gpgpusim->g_the_gpu->active(),but I can't find when or how active() if false ,it was set when init or other time?
And,I find when I choose sim mode 1,ctx->the_gpgpusim->g_the_gpu->cycle_insn_cta_max_hit() is also false, which means the while is not break because ctx->the_gpgpusim->g_sim_done = true; in ctx->the_gpgpusim->g_the_gpu->cycle_insn_cta_max_hit() , so how the while break ?
The text was updated successfully, but these errors were encountered:
I know it can bypass timing simulation when choose func simulation mode,because I haved ran two situations in
-gpgpu_ptx_sim_mode 1
and-gpgpu_ptx_sim_mode 0
,the time of running in mode 1 is less than mode 0.But when I try to find how in the source code,I meet some difficulties.
In gpgpu_entrypoint.cc,
void *gpgpu_sim_thread_concurrent(void *ctx_ptr)
,it has code thatWhen I debug the code,I fine when I choose sim mode 1,
ctx->the_gpgpusim->g_the_gpu->active()
,but I can't find when or how active() if false ,it was set when init or other time?And,I find when I choose sim mode 1,
ctx->the_gpgpusim->g_the_gpu->cycle_insn_cta_max_hit()
is also false, which means thewhile
is not break becausectx->the_gpgpusim->g_sim_done = true;
inctx->the_gpgpusim->g_the_gpu->cycle_insn_cta_max_hit()
, so how thewhile
break ?The text was updated successfully, but these errors were encountered: