allow smp for sample batches in batchcode