 		data_t result = init;
 		unsigned int n_grid = min(n, n_grid_max);
 		unsigned int n_i = n;
-		// the input data segment to process
-		data_t *input = start;
 		output = base_output;
 
 		while(1) {


		//nvtxRangeId_t nvtx0 = nvtxRangeStart("one_setup");
		data_t *output = NULL, *base_output = NULL;
		unsigned int output_size = MAX_GRID_SIZE_;
		cudaMalloc((void**) &output, output_size * sizeof(data_t));
		base_output = output;
		//nvtxRangeEnd(nvtx0);

		unsigned int d_shmem_size = block_size * sizeof(data_t);

  *
  *  File: reduce.cuh
  *  Created: Feb 12, 2013
  *  Modified: Fri 23 Aug 2013 12:01:06 PM PDT
  *
  *  Author: Abhinav Sarje <asarje@lbl.gov>
  */
