diff options
| author | Ahmad Alawneh <[email protected]> | 2023-07-06 01:18:20 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-06 01:18:20 -0400 |
| commit | a42b72214b92b6a97f16c180ad09631cbe50da33 (patch) | |
| tree | 61bba4462fde2ba21e00a166a952edd1087b9ca9 /src/gpgpu-sim/gpu-cache.h | |
| parent | 58beccb510bb892de56b466ac764f24297affebd (diff) | |
| parent | 1ce9febc61ab0e50c01ceea424cbf3e12a149366 (diff) | |
Merge pull request #59 from LAhmos/all_warn
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h index aa693b5..ad41320 100644 --- a/src/gpgpu-sim/gpu-cache.h +++ b/src/gpgpu-sim/gpu-cache.h @@ -499,6 +499,7 @@ struct sector_cache_block : public cache_block_t { for (unsigned i = 0; i < SECTOR_CHUNCK_SIZE; ++i) { if (sector_mask.to_ulong() & (1 << i)) return i; } + return SECTOR_CHUNCK_SIZE; //error } }; |
