Files
gem5/src/gpu-compute
Kyle Roarty 78451f6685 gpu-compute: Fix register checking and allocation in dyn manager
This patch updates the canAllocate function to account both for
the number of regions of registers that need to be allocated,
and for the fact that the registers aren't one continuous chunk.

The patch also consolidates the registers as much as possible when
a register chunk is freed. This prevents fragmentation from making
it impossible to allocate enough registers

Change-Id: Ic95cfe614d247add475f7139d3703991042f8149
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/56909
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
2022-02-18 18:46:33 +00:00
..
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00
2021-12-11 04:00:56 +00:00