gpu-compute: enable kernel-end WB functionality

Change-Id: Ib17e1d700586d1aa04d408e7b924270f0de82efe
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29938
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Xianwei Zhang <xianwei.zhang@amd.com>
This commit is contained in:
Xianwei Zhang
2018-06-28 02:34:41 -04:00
committed by Anthony Gutierrez
parent 07fcbf16fc
commit 024f978cff
3 changed files with 27 additions and 18 deletions

View File

@@ -225,6 +225,9 @@ class Request
* See the AMD GCN3 ISA Architecture Manual for more
* details.
*
* INV_L1: L1 cache invalidation
* WB_L2: L2 cache writeback
*
* SLC: System Level Coherent. Accesses are forced to miss in
* the L2 cache and are coherent with system memory.
*
@@ -237,6 +240,10 @@ class Request
* between atomic return/no-return operations.
*/
enum : CacheCoherenceFlagsType {
/** mem_sync_op flags */
INV_L1 = 0x00000001,
WB_L2 = 0x00000020,
/** user-policy flags */
/** user-policy flags */
SLC_BIT = 0x00000080,
GLC_BIT = 0x00000100,