diff --git a/src/gpu-compute/shader.cc b/src/gpu-compute/shader.cc index aa7a6dd2f2..f5e9444713 100644 --- a/src/gpu-compute/shader.cc +++ b/src/gpu-compute/shader.cc @@ -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() { diff --git a/src/gpu-compute/shader.hh b/src/gpu-compute/shader.hh index eeaf3437fe..238f6e05cf 100644 --- a/src/gpu-compute/shader.hh +++ b/src/gpu-compute/shader.hh @@ -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(); };