 
     int num_feature_vectors;
     int feature_vector_width;
+    int num_examples_per_invocation;
 
     Context(const Plan & plan,
             const float * feature_vectors,



#if defined(__DEVICE_EMULATION__) && 0
    if (tid == 0 && example_num == 0) {
        fprintf(stderr, "completed fprop example %d; label %d\n",
                example_num, label);
        for (unsigned i = 0;  i < no;  ++i) {
            fprintf(stderr, "output %d: value %f error %f correct %d\n",
                    i, this_layer_outputs[i], scratch[i], (label == i));

        int thread_stride = ni / num_threads_in_block;
        if (thread_stride == 0) thread_stride = 1;

        int start_at = (block_num * thread_stride) % ni;

        for (unsigned i_ = start_at;  i_ < ni + start_at;  ++i_) {

