diff options
| author | JRPan <[email protected]> | 2024-01-10 14:13:08 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-10 14:13:08 +0800 |
| commit | 2ef277b65a7e5b79808e6ccfc62fc71644159394 (patch) | |
| tree | 7f84bdab6391043e92d761d5cd79a407fb610cae /src/gpgpu-sim/gpu-cache.h | |
| parent | 95822cbf2c6f8f7a15d5b1bc3bf0eb5250f8d36e (diff) | |
| parent | a0c12f5d63504c67c8bdfb1a6cc689b4ab7867a6 (diff) | |
Merge branch 'dev' into dev
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 } }; |
