 
 
 int main(int argc, char* argv[]){
+
     if (argc != 7) {
         printf("USAGE: ./conv_1d.o <n_batches> <batch_size> <dim> <kern_w> <n_kerns> <device_id>");
         exit(1);

            printf("***ERROR***: %s\n", cudaGetErrorString(err));
        
        float* d_out;
        cudaMalloc((void **) &(d_out), sizeof(float)*kerns.num*outputs[batch].lens[batch_size-1]);
        if (DEBUG) {
            printf("Done allocating d_out \n");
        }

        if (err != cudaSuccess)
            printf("***ERROR***: %s\n", cudaGetErrorString(err));
        
        cudaMemcpy(d_w, wordvec.w, sizeof(float)*dim*wordvec.lens[batch_size-1], cudaMemcpyHostToDevice);
        if (DEBUG) {
            printf("Done transfering wordvecs[batch].w -> d_w \n");
        }
