/* dot product of two arrays. * Command line execution: * */ #include #include #define imin(a,b) (a(N*sizeof(double)); b = (double *) $malloc(N*sizeof(double)); partial_c = (double *) $malloc(blocksPerGrid*sizeof(double)); // fill in the host memory with data for (int i=0; i