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:
Bobby R. Bruce
2020-11-13 20:15:09 -08:00
parent 9fc5344c0a
commit 710ff0e99d

View File

@@ -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;