diff options
| author | tgrogers <[email protected]> | 2018-03-25 15:26:38 -0400 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2018-03-25 15:26:38 -0400 |
| commit | 78a971019b7eac438521c9a77fdf9de30340f29e (patch) | |
| tree | 4c284e35793960213d4a8987427404f8316a4cc5 /src/cuda-sim | |
| parent | b4cf66026f66291293c6e11e9c07976f773732fa (diff) | |
Fixing a bug in mengchi's commit
Diffstat (limited to 'src/cuda-sim')
| -rw-r--r-- | src/cuda-sim/cuda-sim.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc index f143d35..3d3a820 100644 --- a/src/cuda-sim/cuda-sim.cc +++ b/src/cuda-sim/cuda-sim.cc @@ -1163,7 +1163,6 @@ void function_info::finalize( memory_space *param_mem ) for (size_t idx = 0; idx < size; idx += word_size) { const char *pdata = reinterpret_cast<const char*>(param_value.pdata) + idx; // cast to char * for ptr arithmetic param_mem->write(param_address + idx, word_size, pdata,NULL,NULL); - param_mem->read(param_address + idx, word_size, &data); } unsigned offset = p.get_offset(); //assert(offset == param_address); |
