1. A method, comprising: writing an evicted line from a first compute unit of a plurality of compute units to a first subcache of a plurality of subcaches of a shared cache in accordance with an allocation of the plurality of subcaches to the plurality of compute units, wherein the first subcache is associated with the first compute unit, and wherein a second subcache of the shared cache is not associated with any particular compute unit of the plurality of compute units.