Lines Matching refs:ct

61     for (size_t ct = 0; ct < sl->count; ct++) {  in scriptGroupRoot()  local
63 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct]; in scriptGroupRoot()
64 mkinfo->usr = sl->usrPtrs[ct]; in scriptGroupRoot()
66 if (sl->ins[ct]) { in scriptGroupRoot()
69 mkinfo->inPtr[0] = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot()
71 mkinfo->inStride[0] = sl->ins[ct]->mHal.state.elementSizeBytes; in scriptGroupRoot()
73 if (sl->inExts[ct]) { in scriptGroupRoot()
76 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->current.y); in scriptGroupRoot()
78 } else if (sl->ins[ct]->mHal.drvState.lod[0].dimY > kinfo->lid) { in scriptGroupRoot()
81 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->lid); in scriptGroupRoot()
92 if (sl->outs[ct]) { in scriptGroupRoot()
94 (uint8_t *)sl->outs[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot()
96 ostep = sl->outs[ct]->mHal.state.elementSizeBytes; in scriptGroupRoot()
98 if (sl->outExts[ct]) { in scriptGroupRoot()
101 sl->outs[ct]->mHal.drvState.lod[0].stride * kinfo->current.y; in scriptGroupRoot()
103 } else if (sl->outs[ct]->mHal.drvState.lod[0].dimY > kinfo->lid) { in scriptGroupRoot()
106 sl->outs[ct]->mHal.drvState.lod[0].stride * kinfo->lid; in scriptGroupRoot()
132 for (size_t ct=0; ct < mSG->mNodes.size(); ct++) { in execute() local
133 ScriptGroup::Node *n = mSG->mNodes[ct]; in execute()
207 for (size_t ct=0; ct < ins.size(); ct++) { in execute() local
208 Script *s = kernels[ct]->mScript; in execute()
210 uint32_t slot = kernels[ct]->mSlot; in execute()
215 if (ins[ct] == nullptr) { in execute()
221 ains = const_cast<const Allocation**>(&ins[ct]); in execute()
224 bool launchOK = si->forEachMtlsSetup(ains, inLen, outs[ct], nullptr, 0, nullptr, &mtls); in execute()
227 si->preLaunch(slot, ains, inLen, outs[ct], mtls.fep.usr, in execute()
231 mCtx->launchForEach(ains, inLen, outs[ct], nullptr, &mtls); in execute()
234 si->postLaunch(slot, ains, inLen, outs[ct], nullptr, 0, nullptr); in execute()
258 for (size_t ct=0; ct < kernels.size(); ct++) { in execute() local
259 Script *s = kernels[ct]->mScript; in execute()
262 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); in execute()
266 si->preLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], in execute()
287 for (size_t ct=0; ct < kernels.size(); ct++) { in execute() local
288 Script *s = kernels[ct]->mScript; in execute()
290 si->postLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], nullptr, 0, in execute()