diff options
| author | JRPan <[email protected]> | 2024-08-16 11:16:06 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-16 15:16:06 +0000 |
| commit | 42a0cde4b463794d041b544309afb69c315f78bc (patch) | |
| tree | acc2196fb5157f7167de0318bb3aa1a20a7f70af /src/gpgpu-sim/shader.h | |
| parent | 081da0abacbc3595b090094b1a66fc37d35bd82a (diff) | |
remove unused & unintilized variables & format automation (#69)
* run formatter only on PR
* remove unused & unintilized variables
* fix signed & unsigned comparison warning
* enable merge queue
* resolve conflict
* in formatter, checkout the forked repo, not the base repo in PR
* Try to use jenkins for formatter
* Automated Format
---------
Co-authored-by: purdue-jenkins <[email protected]>
Diffstat (limited to 'src/gpgpu-sim/shader.h')
| -rw-r--r-- | src/gpgpu-sim/shader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h index b1f904f..92691d3 100644 --- a/src/gpgpu-sim/shader.h +++ b/src/gpgpu-sim/shader.h @@ -134,7 +134,7 @@ class shd_warp_t { m_waiting_ldgsts = false; // Ni: Clear m_ldgdepbar_buf - for (int i = 0; i < m_ldgdepbar_buf.size(); i++) { + for (unsigned i = 0; i < m_ldgdepbar_buf.size(); i++) { m_ldgdepbar_buf[i].clear(); } m_ldgdepbar_buf.clear(); @@ -165,7 +165,7 @@ class shd_warp_t { m_waiting_ldgsts = false; // Ni: Clear m_ldgdepbar_buf - for (int i = 0; i < m_ldgdepbar_buf.size(); i++) { + for (unsigned i = 0; i < m_ldgdepbar_buf.size(); i++) { m_ldgdepbar_buf[i].clear(); } m_ldgdepbar_buf.clear(); |
