Home | History | Annotate | Download | only in cpu_ref

Lines Matching refs:ct

60     for(size_t ct=0; ct < sl->count; ct++) {
62 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct];
63 mp->usr = sl->usrPtrs[ct];
73 if (sl->ins[ct]) {
74 mp->ptrIn = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr;
75 istep = sl->ins[ct]->mHal.state.elementSizeBytes;
77 if (sl->inExts[ct]) {
78 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->y;
80 if (sl->ins[ct]->mHal.drvState.lod[0].dimY > p->lid) {
81 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->lid;
86 if (sl->outs[ct]) {
87 mp->ptrOut = (uint8_t *)sl->outs[ct]->mHal.drvState.lod[0].mallocPtr;
89 ostep = sl->outs[ct]->mHal.state.elementSizeBytes;
90 if (sl->outExts[ct]) {
91 mp->out = mp->ptrOut + sl->outs[ct]->mHal.drvState.lod[0].stride * p->y;
93 if (sl->outs[ct]->mHal.drvState.lod[0].dimY > p->lid) {
94 mp->out = mp->ptrOut + sl->outs[ct]->mHal.drvState.lod[0].stride * p->lid;
99 //ALOGE("kernel %i %p,%p %p,%p", ct, mp->ptrIn, mp->in, mp->ptrOut, mp->out);
119 for (size_t ct=0; ct < mSG->mNodes.size(); ct++) {
120 ScriptGroup::Node *n = mSG->mNodes[ct];
128 //ALOGE("node %i, order %i, in %i out %i", (int)ct, n->mOrder, (int)n->mInputs.size(), (int)n->mOutputs.size());
196 for (size_t ct=0; ct < ins.size(); ct++) {
197 Script *s = kernels[ct]->mScript;
199 uint32_t slot = kernels[ct]->mSlot;
201 si->forEachMtlsSetup(ins[ct], outs[ct], NULL, 0, NULL, &mtls);
203 si->preLaunch(slot, ins[ct], outs[ct], mtls.fep.usr, mtls.fep.usrLen, NULL);
204 mCtx->launchThreads(ins[ct], outs[ct], NULL, &mtls);
205 si->postLaunch(slot, ins[ct], outs[ct], NULL, 0, NULL);
217 for (size_t ct=0; ct < kernels.size(); ct++) {
218 Script *s = kernels[ct]->mScript;
221 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls);
225 si->preLaunch(kernels[ct]->mSlot, ins[ct], outs[ct], mtls.fep.usr, mtls.fep.usrLen, NULL);
241 for (size_t ct=0; ct < kernels.size(); ct++) {
242 Script *s = kernels[ct]->mScript;
244 si->postLaunch(kernels[ct]->mSlot, ins[ct], outs[ct], NULL, 0, NULL);