Lines Matching refs:ct
59 for (size_t ct = 0; ct < sl->count; ct++) { in scriptGroupRoot() local
61 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct]; in scriptGroupRoot()
62 mkinfo->usr = sl->usrPtrs[ct]; in scriptGroupRoot()
64 if (sl->ins[ct]) { in scriptGroupRoot()
67 mkinfo->inPtr[0] = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot()
69 mkinfo->inStride[0] = sl->ins[ct]->mHal.state.elementSizeBytes; in scriptGroupRoot()
71 if (sl->inExts[ct]) { in scriptGroupRoot()
74 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->current.y); in scriptGroupRoot()
76 } else if (sl->ins[ct]->mHal.drvState.lod[0].dimY > kinfo->lid) { in scriptGroupRoot()
79 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->lid); in scriptGroupRoot()
90 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()
134 for (size_t ct=0; ct < mSG->mNodes.size(); ct++) { in execute() local
135 ScriptGroup::Node *n = mSG->mNodes[ct]; in execute()
209 for (size_t ct=0; ct < ins.size(); ct++) { in execute() local
210 Script *s = kernels[ct]->mScript; in execute()
212 uint32_t slot = kernels[ct]->mSlot; in execute()
217 if (ins[ct] == nullptr) { in execute()
223 ains = const_cast<const Allocation**>(&ins[ct]); in execute()
226 bool launchOK = si->forEachMtlsSetup(ains, inLen, outs[ct], nullptr, 0, nullptr, &mtls); in execute()
229 si->preLaunch(slot, ains, inLen, outs[ct], mtls.fep.usr, in execute()
233 mCtx->launchThreads(ains, inLen, outs[ct], nullptr, &mtls); in execute()
236 si->postLaunch(slot, ains, inLen, outs[ct], nullptr, 0, nullptr); in execute()
260 for (size_t ct=0; ct < kernels.size(); ct++) { in execute() local
261 Script *s = kernels[ct]->mScript; in execute()
264 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); in execute()
268 si->preLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], in execute()
289 for (size_t ct=0; ct < kernels.size(); ct++) { in execute() local
290 Script *s = kernels[ct]->mScript; in execute()
292 si->postLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], nullptr, 0, in execute()