     
     err = cudaGetLastError();
     if (err != cudaSuccess)
-        printf("Error: %s\n", cudaGetErrorString(err));
+        printf("***ERROR***: %s\n", cudaGetErrorString(err));
     
     float* d_out;
     cudaMalloc((void **) &(d_out), sizeof(float)*kerns.num*outputs[test_batch].lens[batch_size-1]);

    
    err = cudaGetLastError();
    if (err != cudaSuccess)
        printf("Error: %s\n", cudaGetErrorString(err));
    
    cudaMemcpy(d_olens, outputs[test_batch].lens, sizeof(long)*batch_size, cudaMemcpyHostToDevice);
    printf("Done transfering wordvecs[test_batch].lens -> d_olens \n");

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