Lines Matching refs:batch
164 Batch* batch = new Batch(this, "Batch0"); in CpuScriptGroup2Impl() local
179 if (batch->conflict(cc)) { in CpuScriptGroup2Impl()
180 mBatches.push_back(batch); in CpuScriptGroup2Impl()
184 batch = new Batch(this, batchStr.c_str()); in CpuScriptGroup2Impl()
187 batch->mClosures.push_back(cc); in CpuScriptGroup2Impl()
190 rsAssert(!batch->mClosures.empty()); in CpuScriptGroup2Impl()
191 mBatches.push_back(batch); in CpuScriptGroup2Impl()
196 for (Batch* batch : mBatches) { in CpuScriptGroup2Impl()
197 batch->resolveFuncPtr(mScriptObj); in CpuScriptGroup2Impl()
214 for (Batch* batch : mBatches) { in ~CpuScriptGroup2Impl()
215 delete batch; in ~CpuScriptGroup2Impl()
279 for (const string& batch : kernelBatches) { in setupCompileArguments() local
281 args->push_back(batch.c_str()); in setupCompileArguments()
283 for (const string& batch : invokeBatches) { in setupCompileArguments() local
285 args->push_back(batch.c_str()); in setupCompileArguments()
415 for (const auto& batch : mBatches) { in compile() local
416 rsAssert(batch->size() > 0); in compile()
419 ss << batch->mName << ":"; in compile()
421 if (!batch->mClosures.front()->mClosure->mIsKernel) { in compile()
422 rsAssert(batch->size() == 1); in compile()
423 generateSourceSlot(mCpuRefImpl, *batch->mClosures.front()->mClosure, inputs, ss); in compile()
426 for (const auto& cpuClosure : batch->mClosures) { in compile()
574 for (auto batch : mBatches) { in execute() local
575 batch->setGlobalsForBatch(); in execute()
576 batch->run(); in execute()