/frameworks/rs/cpu_ref/ |
rsCpuCore.cpp | 48 #define REDUCE_ALOGV(mtls, level, ...) do { if ((mtls)->logReduce >= (level)) ALOGV(__VA_ARGS__); } while(0) 160 MTLaunchStructCommon *mtls = (MTLaunchStructCommon *)data; local 161 if (mtls && mtls->dimPtr->y <= 1 && mtls->end.x <= mtls->start.x + mtls->mSliceSize) { 336 // mtls - The MTLaunchStruct holding information about the kernel launch 339 static inline void FepPtrSetup(const MTLaunchStructForEach *mtls, RsExpandKernelDriverInfo *fep 394 MTLaunchStructForEach *mtls = (MTLaunchStructForEach *)usr; local 421 MTLaunchStructForEach *mtls = (MTLaunchStructForEach *)usr; local 446 MTLaunchStructForEach *mtls = (MTLaunchStructForEach *)usr; local 536 const MTLaunchStructReduce *mtls = (const MTLaunchStructReduce *)usr; local 575 const MTLaunchStructReduce *mtls = (const MTLaunchStructReduce *)usr; local 614 const MTLaunchStructReduce *mtls = (const MTLaunchStructReduce *)usr; local [all...] |
rsCpuIntrinsic.cpp | 96 MTLaunchStructForEach mtls; local 100 if (forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls)) { 101 mtls.script = this; 102 mtls.fep.slot = slot; 104 mtls.kernel = mRootPtr; 105 mtls.fep.usr = this; 108 mCtx->launchForEach(ains, inLen, aout, sc, &mtls); 115 void RsdCpuScriptIntrinsic::forEachKernelSetup(uint32_t slot, MTLaunchStructForEach *mtls) { 117 mtls->script = this; 118 mtls->fep.slot = slot [all...] |
rsCpuScript.cpp | 518 // dimensions into the mtls start/end fields. 526 bool RsdCpuScriptImpl::setUpMtlsDimensions(MTLaunchStructCommon *mtls, 529 rsAssert(mtls); 533 mtls->end.DIM_FIELD = baseDim.DIM_FIELD; \ 535 mtls->start.DIM_FIELD = \ 537 mtls->end.DIM_FIELD = \ 539 if (mtls->start.DIM_FIELD >= mtls->end.DIM_FIELD) { \ 562 MTLaunchStructReduce *mtls) { 564 memset(mtls, 0, sizeof(MTLaunchStructReduce)) 745 MTLaunchStructForEach mtls; local 760 MTLaunchStructReduce mtls; local [all...] |
rsCpuScriptGroup.cpp | 206 MTLaunchStructForEach mtls; local 226 bool launchOK = si->forEachMtlsSetup(ains, inLen, outs[ct], nullptr, 0, nullptr, &mtls); 228 si->forEachKernelSetup(slot, &mtls); 229 si->preLaunch(slot, ains, inLen, outs[ct], mtls.fep.usr, 230 mtls.fep.usrLen, nullptr); 233 mCtx->launchForEach(ains, inLen, outs[ct], nullptr, &mtls); 264 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); 265 fnPtrs.add((void *)mtls.kernel); 266 usrPtrs.add(mtls.fep.usr); 267 sigs.add(mtls.fep.usrLen) [all...] |
rsCpuScript.h | 88 const RsScriptCall *sc, MTLaunchStructForEach *mtls); 90 virtual void forEachKernelSetup(uint32_t slot, MTLaunchStructForEach *mtls); 94 const RsScriptCall *sc, MTLaunchStructReduce *mtls); 96 virtual void reduceKernelSetup(uint32_t slot, MTLaunchStructReduce *mtls); 136 bool setUpMtlsDimensions(MTLaunchStructCommon *mtls,
|
rsCpuCore.h | 166 const RsScriptCall *sc, MTLaunchStructForEach *mtls); 170 MTLaunchStructReduce *mtls); 262 MTLaunchStructReduce *mtls); 264 MTLaunchStructReduce *mtls);
|
rsCpuScriptGroup2.cpp | 173 MTLaunchStructForEach mtls; local 174 si->forEachKernelSetup(funcID->mSlot, &mtls); 175 cc = new CPUClosure(closure, si, (ExpandFuncTy)mtls.kernel); 586 MTLaunchStructForEach mtls; local 594 nullptr, 0, nullptr, &mtls); 596 mtls.script = nullptr; 597 mtls.fep.usr = nullptr; 598 mtls.kernel = (ForEachFunc_t)mFunc; 604 nullptr, &mtls); 621 MTLaunchStructForEach mtls; local [all...] |
rsCpuIntrinsic.h | 42 void forEachKernelSetup(uint32_t slot, MTLaunchStructForEach * mtls) override;
|