cudaErrorCheck_goto on cudaThreadSynchronize() calls
Merge branch 'cuda_hog' into cuda_hog_fullcuda
cudaErrorCheck_goto on cudaThreadSynchronize() calls