diff options
| author | Jin Wang <[email protected]> | 2016-07-01 05:29:58 -0400 |
|---|---|---|
| committer | Jin Wang <[email protected]> | 2016-07-05 09:16:53 -0400 |
| commit | 3656376ccd83d5c514389c4c3818f1969bc30e0c (patch) | |
| tree | ada5faf5474ad7b9de173854f74f848b2e3b5867 /src/gpgpu-sim/gpu-sim.cc | |
| parent | 38f811ab4d094e56b2065e1c8cb39327ad9f157b (diff) | |
MOD: schedule one child kernel each cycle
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index 47dbc89..126e007 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -61,6 +61,7 @@ #include "power_stat.h" #include "visualizer.h" #include "stats.h" +#include "../cuda-sim/cuda_device_runtime.h" #ifdef GPGPUSIM_POWER_MODEL #include "power_interface.h" @@ -1370,6 +1371,9 @@ void gpgpu_sim::cycle() } try_snap_shot(gpu_sim_cycle); spill_log_to_file (stdout, 0, gpu_sim_cycle); + + //launch device kernel + launch_one_device_kernel(); } } |
