diff options
| author | Aaron Barnes <[email protected]> | 2023-08-07 12:27:43 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-07 12:27:43 -0400 |
| commit | 57452f0afc9f25118ef03aa317669331feaa8571 (patch) | |
| tree | c617f1a97f6549642034de7d6f3b70723bc6ba75 /src/gpgpu-sim/gpu-cache.h | |
| parent | 712b6104e7399b2dd42c25b4cd788f0f36b5b39d (diff) | |
| parent | a42b72214b92b6a97f16c180ad09631cbe50da33 (diff) | |
Merge branch 'dev' into fix-stats
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 } }; |
