#include using namespace std; extern void test_cuda(float* input, int width, int height, int iterations); int main(int argc, char** argv) { // Parse Command Line and extract arguments if (argc < 2) { cout << endl << "Usage: test ITERATIONS" << endl; exit( 0 ); } // load parameters int max_iter = atoi(argv[1]); int width = 512; int height = 512; // allocate arrays for input and output float* input = new float[width*height]; // Copy data to float image for (int y=0; y