We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you find bugs about <THC/THC.h>, you can do the following modifications:
uncomment this line:
LIGA-Stereo/liga/ops/build_cost_volume/src/BuildCostVolume_cuda.cu
Line 5 in aee3731
define a new ceil_div function:
int ceil_div(int a, int b){ return (a + b - 1) / b; }
replace this line:
Line 232 in aee3731
dim3 grid(std::min(ceil_div((long)(output_size / 2), 512), 4096));
Line 278 in aee3731
dim3 grid(std::min(ceil_div((long)(grad.numel()), 512) , 4096));
replace THCudaCheck(cudaGetLastError()); with AT_CUDA_CHECK(cudaGetLastError());
THCudaCheck(cudaGetLastError());
AT_CUDA_CHECK(cudaGetLastError());
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you find bugs about <THC/THC.h>, you can do the following modifications:
uncomment this line:
LIGA-Stereo/liga/ops/build_cost_volume/src/BuildCostVolume_cuda.cu
Line 5 in aee3731
define a new ceil_div function:
replace this line:
LIGA-Stereo/liga/ops/build_cost_volume/src/BuildCostVolume_cuda.cu
Line 232 in aee3731
with
dim3 grid(std::min(ceil_div((long)(output_size / 2), 512), 4096));
replace this line:
LIGA-Stereo/liga/ops/build_cost_volume/src/BuildCostVolume_cuda.cu
Line 278 in aee3731
with
dim3 grid(std::min(ceil_div((long)(grad.numel()), 512) , 4096));
replace
THCudaCheck(cudaGetLastError());
withAT_CUDA_CHECK(cudaGetLastError());
The text was updated successfully, but these errors were encountered: