diff options
| author | Tor Aamodt <[email protected]> | 2019-04-19 15:10:30 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-04-19 15:10:30 -0700 |
| commit | 60cbe5e00a76a655b093041d4ed3df3d07379094 (patch) | |
| tree | 463dd5eb7f62b890eb0c11ab95f4026711609fde /src/cuda-sim/cuda_device_runtime.cc | |
| parent | e5322e7bbe2c884b62aaecad0f854251c2187ba6 (diff) | |
| parent | 51c853e42c805275c64ee90c1c025e4b111fc570 (diff) | |
Merge pull request #117 from PSuchita/dev
Texture + Stream Bug Fix
Diffstat (limited to 'src/cuda-sim/cuda_device_runtime.cc')
| -rw-r--r-- | src/cuda-sim/cuda_device_runtime.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda_device_runtime.cc b/src/cuda-sim/cuda_device_runtime.cc index b399133..917e7a8 100644 --- a/src/cuda-sim/cuda_device_runtime.cc +++ b/src/cuda-sim/cuda_device_runtime.cc @@ -198,7 +198,8 @@ void gpgpusim_cuda_launchDeviceV2(const ptx_instruction * pI, ptx_thread_info * memory_space *device_kernel_param_mem; //create child kernel_info_t and index it with parameter_buffer address - device_grid = new kernel_info_t(config.grid_dim, config.block_dim, device_kernel_entry); + gpgpu_t* gpu=thread->get_gpu(); + device_grid = new kernel_info_t(config.grid_dim, config.block_dim, device_kernel_entry, gpu->getNameArrayMapping(), gpu->getNameInfoMapping()); device_grid->launch_cycle = gpu_sim_cycle + gpu_tot_sim_cycle; kernel_info_t & parent_grid = thread->get_kernel(); DEV_RUNTIME_REPORT("child kernel launched by " << parent_grid.name() << ", cta (" << |
