gpu-compute,mem-ruby: Replace ACQUIRE and RELEASE request flags
authorTuan Ta <qtt2@cornell.edu>
Tue, 12 Jun 2018 20:36:27 +0000 (16:36 -0400)
committerMatthew Poremba <matthew.poremba@amd.com>
Wed, 4 Nov 2020 21:09:26 +0000 (21:09 +0000)
commit173c1c6eb0b76fcba1312b19067db29ece5357f3
treef01f6332451f116d68810fa86bf9b0f6210f18d5
parentf36817c3670ccdabe5372faaa4ba383000ce99cd
gpu-compute,mem-ruby: Replace ACQUIRE and RELEASE request flags

This patch replaces ACQUIRE and RELEASE flags which are HSA-specific.
ACQUIRE flag becomes INV_L1 in VIPER protocol. RELEASE flag is removed.
Future protocols may support extra cache coherence flags like INV_L2 and
WB_L2.

Change-Id: I3d60c9d3625c898f4110a12d81742b6822728533
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32859
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/testers/gpu_ruby_test/gpu_wavefront.cc
src/gpu-compute/compute_unit.cc
src/gpu-compute/gpu_dyn_inst.hh
src/mem/request.hh
src/mem/ruby/system/GPUCoalescer.cc
src/mem/ruby/system/VIPERCoalescer.cc