summaryrefslogtreecommitdiff
path: root/src/gpu-compute/dispatcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu-compute/dispatcher.cc')
-rw-r--r--src/gpu-compute/dispatcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu-compute/dispatcher.cc b/src/gpu-compute/dispatcher.cc
index d1d011c0d..adc1f51bd 100644
--- a/src/gpu-compute/dispatcher.cc
+++ b/src/gpu-compute/dispatcher.cc
@@ -305,7 +305,7 @@ GpuDispatcher::exec()
void
GpuDispatcher::notifyWgCompl(Wavefront *w)
{
- int kern_id = w->kern_id;
+ int kern_id = w->kernId;
DPRINTF(GPUDisp, "notify WgCompl %d\n",kern_id);
assert(ndRangeMap[kern_id].dispatchId == kern_id);
ndRangeMap[kern_id].numWgCompleted++;