diff options
| author | JRPan <[email protected]> | 2025-08-18 23:09:47 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-19 06:09:47 +0000 |
| commit | 21b18be3832b80b00d4890f041818bac431866e7 (patch) | |
| tree | 4a8801a93a6dde20b747ef6db509215894c9f3ec /src/cuda-sim/ptx_sim.cc | |
| parent | 33644740f15e0fa9f3d64ff98956569b2acf47bc (diff) | |
running formatter (#126)
* running formatter
* consolidate CI runs
* use cluster to run formatter
* use cluster to run formatter
* Add a CI-Success step
Diffstat (limited to 'src/cuda-sim/ptx_sim.cc')
| -rw-r--r-- | src/cuda-sim/ptx_sim.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuda-sim/ptx_sim.cc b/src/cuda-sim/ptx_sim.cc index 9a22d02..d0de1ca 100644 --- a/src/cuda-sim/ptx_sim.cc +++ b/src/cuda-sim/ptx_sim.cc @@ -203,8 +203,8 @@ unsigned ptx_thread_info::get_builtin(int builtin_id, unsigned dim_mod) { return (unsigned)(m_gpu->gpu_sim_cycle + m_gpu->gpu_tot_sim_cycle); case CLOCK64_REG: // Change return value to unsigned long long? - // Currently returns 32-bit unsigned, which may cause truncation for large values. - // GPGPUSim clock is 4 times slower - multiply by 4 + // Currently returns 32-bit unsigned, which may cause truncation for large + // values. GPGPUSim clock is 4 times slower - multiply by 4 return (m_gpu->gpu_sim_cycle + m_gpu->gpu_tot_sim_cycle) * 4; case HALFCLOCK_ID: // GPGPUSim clock is 4 times slower - multiply by 4 |
