     compressor<<<numCores, numThreads>>>(original, rows, cols);
     cudaMemcpy(&new_image, gpuAllocation, original*sizeof(int), cudaMemcpyDeviceToHost);
     cudaFree(&gpuAllocation);
-}
+}*/
 int main (int agrc, char **agrv){
     FILE *inputfile;
     inputfile = fopen("image_list.txt", "r");


#define TRUE = 1


//cuda function
__global__ void compressor(PIXEL * orig, int row, int col){
    int i = blockIdx.x * blockDim.x + threadIdx.x;

        int row, col;
        PIXEL *uncompressed, *compressed;
        readFile("example.bmp", &row, &col, &uncompressed);
        // middleware(uncompressed, row, col, compressed);
        int *p;
        printf("%d\n%d\n%d\n", p, *p, &p);
        fgets(image_name, 256, (FILE*)inputfile);
    }
}
