gpu-compute: Add pipeline stage interface classes
authorTony Gutierrez <anthony.gutierrez@amd.com>
Mon, 2 Jul 2018 19:56:22 +0000 (15:56 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Fri, 17 Jul 2020 16:36:09 +0000 (16:36 +0000)
commit63c76448ebd1411af02ff6c0fce5a6afccfb9c87
tree84f7968bba5a8e26ff2637b8f31e6722f41ce59a
parent6655161037824ca9dbef696a8fda3700b250e8bf
gpu-compute: Add pipeline stage interface classes

This change separates the pipeline stage interfaces
for the GPU's compute unit into their own classes
with a well-defined interface. This helps to create
a cleaner interface for users to extend the CU
pipeline's capabilities and also helps consolidate
all the pipeline communication code in one place
in the source.

Change-Id: I569d52bce84dc1b9fbf8f0f96d53a81a2b6773c6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29972
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/gpu-compute/SConscript
src/gpu-compute/comm.cc [new file with mode: 0644]
src/gpu-compute/comm.hh [new file with mode: 0644]
src/gpu-compute/compute_unit.cc
src/gpu-compute/compute_unit.hh
src/gpu-compute/exec_stage.cc
src/gpu-compute/exec_stage.hh
src/gpu-compute/schedule_stage.cc
src/gpu-compute/schedule_stage.hh
src/gpu-compute/scoreboard_check_stage.cc
src/gpu-compute/scoreboard_check_stage.hh