arch-gcn3,misc: Added missing overrides to gpu_thread.hh
Compiling GCN3 with clang will result in errors within this change. Change-Id: I05fea6f84f988cb22505281fa24e72d615959f7a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37538 Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
This commit is contained in:
@@ -90,8 +90,8 @@ class GpuThread : public ClockedObject
|
||||
: Event(CPU_Tick_Pri), thread(_thread), desc(_description)
|
||||
{}
|
||||
void setDesc(std::string _description) { desc = _description; }
|
||||
void process() { thread->wakeup(); }
|
||||
const std::string name() { return desc; }
|
||||
void process() override { thread->wakeup(); }
|
||||
const std::string name() const override { return desc; }
|
||||
};
|
||||
|
||||
GpuThreadEvent threadEvent;
|
||||
@@ -105,8 +105,13 @@ class GpuThread : public ClockedObject
|
||||
DeadlockCheckEvent(GpuThread* _thread)
|
||||
: Event(CPU_Tick_Pri), thread(_thread)
|
||||
{}
|
||||
void process() { thread->checkDeadlock(); }
|
||||
const std::string name() const { return "Tester deadlock check"; }
|
||||
void process() override { thread->checkDeadlock(); }
|
||||
|
||||
const std::string
|
||||
name() const override
|
||||
{
|
||||
return "Tester deadlock check";
|
||||
}
|
||||
};
|
||||
|
||||
DeadlockCheckEvent deadlockCheckEvent;
|
||||
|
||||
Reference in New Issue
Block a user