     
     err = cudaGetLastError();
     if (err != cudaSuccess)
-        printf("Error: %s\n", cudaGetErrorString(err));
+        printf("***ERROR***: %s\n", cudaGetErrorString(err));
     
     printf("Done launching the kernel. \n");
     

    
    err = cudaGetLastError();
    if (err != cudaSuccess)
        printf("Error: %s\n", cudaGetErrorString(err));
    
    cudaMemcpy(d_out, outputs[test_batch].out, sizeof(float)*kerns.num*outputs[test_batch].lens[batch_size-1], cudaMemcpyHostToDevice);
    printf("Done transfering outputs[test_batch].out -> d_out \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");
