Lines Matching defs:sl
56 const ScriptList *sl = (const ScriptList *)p->usr;
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;
206 ScriptList sl;
207 sl.ins = ins.array();
208 sl.outs = outs.array();
209 sl.kernels = kernels.array();
210 sl.count = kernels.size();
225 sl.sigs = sigs.array();
226 sl.usrPtrs = usrPtrs.array();
227 sl.fnPtrs = fnPtrs.array();
228 sl.inExts = inExts.array();
229 sl.outExts = outExts.array();
236 mtls.fep.usr = &sl;