Lines Matching refs:kern_id
312 int kern_id = w->kernId;
313 DPRINTF(GPUDisp, "notify WgCompl %d\n",kern_id);
314 assert(ndRangeMap[kern_id].dispatchId == kern_id);
315 ndRangeMap[kern_id].numWgCompleted++;
317 if (ndRangeMap[kern_id].numWgCompleted == ndRangeMap[kern_id].numWgTotal) {
318 ndRangeMap[kern_id].execDone = true;
319 doneIds.push(kern_id);
321 if (ndRangeMap[kern_id].addrToNotify) {
322 accessUserVar(cpu, (uint64_t)(ndRangeMap[kern_id].addrToNotify), 1,
326 accessUserVar(cpu, (uint64_t)(ndRangeMap[kern_id].numDispLeft), 0, -1);
329 if (ndRangeMap[kern_id].q.depends) {
330 HostState *host_state = (HostState*)ndRangeMap[kern_id].q.depends;