gpu-compute: Remove unused function hostWakeUp from shader
Change-Id: Ib4415a7c5918da03bbd16fe9adb4dd593dcaa95c Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29929 Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Anthony Gutierrez
parent
22190c0165
commit
5c95e6b678
@@ -153,19 +153,6 @@ Shader::updateContext(int cid) {
|
||||
assert(gpuTc);
|
||||
}
|
||||
|
||||
void
|
||||
Shader::hostWakeUp(BaseCPU *cpu) {
|
||||
if (cpuPointer == cpu) {
|
||||
if (gpuTc->status() == ThreadContext::Suspended)
|
||||
cpu->activateContext(gpuTc->threadId());
|
||||
} else {
|
||||
//Make sure both dispatcher and shader are trying to
|
||||
//wakeup same host. Hack here to enable kernel launch
|
||||
//from multiple CPUs
|
||||
panic("Dispatcher wants to wakeup a different host");
|
||||
}
|
||||
}
|
||||
|
||||
Shader*
|
||||
ShaderParams::create()
|
||||
{
|
||||
|
||||
@@ -301,7 +301,6 @@ class Shader : public ClockedObject
|
||||
Addr mmap(int length);
|
||||
void functionalTLBAccess(PacketPtr pkt, int cu_id, BaseTLB::Mode mode);
|
||||
void updateContext(int cid);
|
||||
void hostWakeUp(BaseCPU *cpu);
|
||||
void notifyCuSleep();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user