 
     printf("src_fname   = %s\n", src_fname);
     printf("dst_fname   = %s\n", dst_fname);
-    printf("block dim X = %s\n", block_dim_x_string);
-    printf("block dim Y = %s\n", block_dim_y_string);
 
     // load src image
     Bitmap* src_bitmap = loadBitmap(src_fname);

#include <stdlib.h>
#include "gpu1.cuh"
#include "../common/utils.hpp"

#define PAD_TOP 2
#define PAD_LEFT 2

    padding.right = max((int) ((grid_dim_x * block_dim_x) - (src_bitmap->width + PAD_RIGHT)), PAD_RIGHT);
    pad_binary_bitmap(&src_bitmap, BINARY_WHITE, padding);
    pad_binary_bitmap(&dst_bitmap, BINARY_WHITE, padding);

    printf("padded img width = %u\n", src_bitmap->width);
    printf("padded img height = %u\n", src_bitmap->height);
    printf("block dim X = %u\n", block_dim_x);
    printf("block dim Y = %u\n", block_dim_y);
    printf("grid dim X = %u\n", grid_dim_x);
    printf("grid dim Y = %u\n", grid_dim_y);

    unsigned int iterations = skeletonize(&src_bitmap, &dst_bitmap, padding, grid_dim, block_dim);
    printf(" %u iterations\n", iterations);
