Lines Matching refs:scratch
77 // some per-thread scratch space.
159 // Each thread gets it's own cost and evaluate scratch space.
187 EvaluateScratch* scratch = &evaluate_scratch_[thread_id];
195 block_residuals = scratch->residual_block_residuals.get();
204 scratch->jacobian_block_ptrs.get());
205 block_jacobians = scratch->jacobian_block_ptrs.get();
215 scratch->residual_block_evaluate_scratch.get())) {
224 scratch->cost += block_cost;
250 scratch->gradient.get() + parameter_block->delta_offset());
309 // Per-thread scratch space needed to evaluate and store each residual block.
346 // Create scratch space for each thread evaluating the program.