     }
 }
 
+__global__
+void print_ori_counter( int octave, int level, int* extrema_counter, int* featvec_counter )
+{
+    printf("o/l %d/%d found %d extrema %d orientations\n", octave, level, *extrema_counter, *featvec_counter );
+}
+
 
 /*************************************************************
  * V4: host side

                      &d_num_featvec[level],
                      oct_obj.getExtrema( level ) );
            }
        }
    }
}

                  extrema_counter,
                  featvec_counter,
                  oct_obj.getData( level ) );

            print_ori_counter<<<1,1,0,oct_str>>>
                ( octave, level, extrema_counter, featvec_counter );
        }
    }
}
