/frameworks/rs/cpu_ref/ |
rsCpuCore.cpp | 168 MTLaunchStruct *mtls = (MTLaunchStruct *)data; local 169 if (mtls && mtls->fep.dimY <= 1 && mtls->xEnd <= mtls->xStart + mtls->mSliceSize) { 347 MTLaunchStruct *mtls = (MTLaunchStruct *)usr; local 349 memcpy(&p, &mtls->fep, sizeof(p)); 351 uint32_t sig = mtls->sig; 353 outer_foreach_t fn = (outer_foreach_t) mtls->kernel 377 MTLaunchStruct *mtls = (MTLaunchStruct *)usr; local [all...] |
rsCpuIntrinsic.cpp | 93 MTLaunchStruct mtls; local 96 forEachMtlsSetup(ain, aout, usr, usrLen, sc, &mtls); 97 mtls.script = this; 98 mtls.fep.slot = slot; 100 mtls.kernel = (void (*)())mRootPtr; 101 mtls.fep.usr = this; 104 mCtx->launchThreads(ain, aout, sc, &mtls); 110 void RsdCpuScriptIntrinsic::forEachKernelSetup(uint32_t slot, MTLaunchStruct *mtls) { 112 mtls->script = this; 113 mtls->fep.slot = slot [all...] |
rsCpuScript.cpp | 746 MTLaunchStruct *mtls) { 748 memset(mtls, 0, sizeof(MTLaunchStruct)); 761 mtls->fep.dimX = ain->getType()->getDimX(); 762 mtls->fep.dimY = ain->getType()->getDimY(); 763 mtls->fep.dimZ = ain->getType()->getDimZ(); 764 //mtls->dimArray = ain->getType()->getDimArray(); 766 mtls->fep.dimX = aout->getType()->getDimX(); 767 mtls->fep.dimY = aout->getType()->getDimY(); 768 mtls->fep.dimZ = aout->getType()->getDimZ(); 769 //mtls->dimArray = aout->getType()->getDimArray() 850 MTLaunchStruct mtls; local [all...] |
rsCpuScriptGroup.cpp | 193 MTLaunchStruct mtls; local 201 si->forEachMtlsSetup(ins[ct], outs[ct], NULL, 0, NULL, &mtls); 202 si->forEachKernelSetup(slot, &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); 221 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); 222 fnPtrs.add((void *)mtls.kernel); 223 usrPtrs.add(mtls.fep.usr); 224 sigs.add(mtls.fep.usrLen) [all...] |
rsCpuScript.h | 85 const RsScriptCall *sc, MTLaunchStruct *mtls); 86 virtual void forEachKernelSetup(uint32_t slot, MTLaunchStruct *mtls);
|
rsCpuIntrinsic.h | 39 virtual void forEachKernelSetup(uint32_t slot, MTLaunchStruct *mtls);
|
rsCpuCore.h | 98 const RsScriptCall *sc, MTLaunchStruct *mtls);
|