configs,tests: Add tokens to GPU VIPER tester
authorKyle Roarty <kyleroarty1716@gmail.com>
Fri, 25 Sep 2020 02:50:58 +0000 (21:50 -0500)
committerMatthew Poremba <matthew.poremba@amd.com>
Wed, 4 Nov 2020 21:09:26 +0000 (21:09 +0000)
commitdfc64880fe7450cf277d555ba5a8d0ece8e2013a
tree15c6789e46d2b2cdbfb32f40273b819ed75012ab
parent80221d7e1d170e20c9e77cae1c707addba14176e
configs,tests: Add tokens to GPU VIPER tester

This patch integrates tokens into the VIPER tester by adding a
GMTokenPort to the tester, having the tester acquire tokens for
requests that use tokens, and checking for available tokens
before issuing any requests.

Change-Id: Id317d703e4765dd5fa7de0d16f5eb595aab7096c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35135
Maintainer: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/testers/gpu_ruby_test/ProtocolTester.py
src/cpu/testers/gpu_ruby_test/gpu_thread.cc
src/cpu/testers/gpu_ruby_test/gpu_thread.hh
src/cpu/testers/gpu_ruby_test/protocol_tester.cc
src/cpu/testers/gpu_ruby_test/protocol_tester.hh