cpu: Rename GpuThread in gpu_ruby_test tester
The GpuThread class will be used as an abstract class for any thread type (CPU, GPU, DMA) therefore changing to a more appropriate name. Change-Id: If241edb53ea405c95b0315c609176c6470b29931 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39935 Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2020 Advanced Micro Devices, Inc.
|
||||
* Copyright (c) 2017-2021 Advanced Micro Devices, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* For use for simulation and test purposes only
|
||||
@@ -36,9 +36,9 @@
|
||||
#include "debug/ProtocolTest.hh"
|
||||
|
||||
GpuWavefront::GpuWavefront(const Params &p)
|
||||
: GpuThread(p), cuId(p.cu_id)
|
||||
: TesterThread(p), cuId(p.cu_id)
|
||||
{
|
||||
threadName = "GpuWavefront(GpuThread ID = " + std::to_string(threadId) +
|
||||
threadName = "GpuWavefront(TesterThread ID = " + std::to_string(threadId) +
|
||||
", CU ID = " + std::to_string(cuId) + ")";
|
||||
threadEvent.setDesc("GpuWavefront tick");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user