 
     cudaEventElapsedTime(&cuda_elapsedTime,eStart,eStop);
     printf("Stemmer GPU Time=%4.3f ms\n", cuda_elapsedTime);
-    for(int i=0;i<array_size;i++)
+    for(int i = 0;i < array_size;i++)
     {
 
         cudaMemcpy(&(stem_list[i]->j),&(host2_stem_list[i]->j),sizeof(int),cudaMemcpyDeviceToHost);


/*--------------------stemmer definition ends here------------------------*/


// For the CUDA runtime routines (prefixed with "cuda_")
/* //#include <cuda_runtime.h> */

#include <limits.h>
#include <float.h>
#include <math.h>
#include <sys/time.h>

//static char * s;         /* buffer for words tobe stemmed */
//static char **word_list;
static struct stemmer **stem_list;

struct stemmer **dev_stem_list;

//#define _POSIX_C_SOURCE >= 199309L

#define ARRAYSIZE   4100000
static int a_max = ARRAYSIZE;

#define A_INC     10000

#define INC 32           /* size units in which s is increased */
static int i_max = INC;  /* maximum offset in s */

#define LETTER(ch) (isupper(ch) || islower(ch))


int main(int argc, char * argv[])
{  
    cudaEvent_t eStart,eStop;float cuda_elapsedTime;

    // allocate data
