   //printf("Region grown");
 
   gettimeofday(&start, NULL);
-  unsigned char* image = raycast_gpu_texture(data, region);
+  //unsigned char* image = raycast_gpu_texture(data, region);
+  unsigned char* image = raycast_gpu(data, region);
   //unsigned char* image = raycast_serial(data, region);
   gettimeofday(&end, NULL);
   print_time(start, end);



__global__ void region_grow_kernel_shared(unsigned char* data, unsigned char* region, int* finished){

}



  cudaMemcpy3D(&copyDataParams);
  cudaMemcpy3D(&copyRegionParams);

  cudaBindTextureToArray(data_texture, data_array, channelDesc);
  cudaBindTextureToArray(region_texture, region_array, channelDesc);



