diff --git a/third_party/DAIN/PWCNet/correlation_package_pytorch1_0/correlation_cuda_kernel.cu b/third_party/DAIN/PWCNet/correlation_package_pytorch1_0/correlation_cuda_kernel.cu index eaf86fc..5d40466 100755 --- a/third_party/DAIN/PWCNet/correlation_package_pytorch1_0/correlation_cuda_kernel.cu +++ b/third_party/DAIN/PWCNet/correlation_package_pytorch1_0/correlation_cuda_kernel.cu @@ -416,13 +416,6 @@ int correlation_forward_cuda_kernel(at::Tensor& output, cudaError_t err = cudaGetLastError(); - - // check for errors - if (err != cudaSuccess) { - printf("error in correlation_forward_cuda_kernel: %s\n", cudaGetErrorString(err)); - return 0; - } - return 1; }