/frameworks/rs/cpu_ref/ |
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...] |
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...] |
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...] |
rsCpuScript.cpp | 726 MTLaunchStruct *mtls) { 728 memset(mtls, 0, sizeof(MTLaunchStruct)); 741 mtls->fep.dimX = ain->getType()->getDimX(); 742 mtls->fep.dimY = ain->getType()->getDimY(); 743 mtls->fep.dimZ = ain->getType()->getDimZ(); 744 //mtls->dimArray = ain->getType()->getDimArray(); 746 mtls->fep.dimX = aout->getType()->getDimX(); 747 mtls->fep.dimY = aout->getType()->getDimY(); 748 mtls->fep.dimZ = aout->getType()->getDimZ(); 749 //mtls->dimArray = aout->getType()->getDimArray() 830 MTLaunchStruct mtls; local [all...] |