Lines Matching refs:sl
56 const ScriptList *sl = (const ScriptList *)p->usr; in scriptGroupRoot() local
60 for(size_t ct=0; ct < sl->count; ct++) { in scriptGroupRoot()
62 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct]; in scriptGroupRoot()
63 mp->usr = sl->usrPtrs[ct]; in scriptGroupRoot()
73 if (sl->ins[ct]) { in scriptGroupRoot()
74 mp->ptrIn = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot()
75 istep = sl->ins[ct]->mHal.state.elementSizeBytes; in scriptGroupRoot()
77 if (sl->inExts[ct]) { in scriptGroupRoot()
78 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->y; in scriptGroupRoot()
80 if (sl->ins[ct]->mHal.drvState.lod[0].dimY > p->lid) { in scriptGroupRoot()
81 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->lid; in scriptGroupRoot()
86 if (sl->outs[ct]) { in scriptGroupRoot()
87 mp->ptrOut = (uint8_t *)sl->outs[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot()
89 ostep = sl->outs[ct]->mHal.state.elementSizeBytes; in scriptGroupRoot()
90 if (sl->outExts[ct]) { in scriptGroupRoot()
91 mp->out = mp->ptrOut + sl->outs[ct]->mHal.drvState.lod[0].stride * p->y; in scriptGroupRoot()
93 if (sl->outs[ct]->mHal.drvState.lod[0].dimY > p->lid) { in scriptGroupRoot()
94 mp->out = mp->ptrOut + sl->outs[ct]->mHal.drvState.lod[0].stride * p->lid; in scriptGroupRoot()
206 ScriptList sl; in execute() local
207 sl.ins = ins.array(); in execute()
208 sl.outs = outs.array(); in execute()
209 sl.kernels = kernels.array(); in execute()
210 sl.count = kernels.size(); in execute()
225 sl.sigs = sigs.array(); in execute()
226 sl.usrPtrs = usrPtrs.array(); in execute()
227 sl.fnPtrs = fnPtrs.array(); in execute()
228 sl.inExts = inExts.array(); in execute()
229 sl.outExts = outExts.array(); in execute()
236 mtls.fep.usr = &sl; in execute()