overflow warning typo

Summary: bin_size should be 0 not -1 for naive rasterization. See https://github.com/facebookresearch/pytorch3d/issues/1129

Reviewed By: patricklabatut

Differential Revision: D35077115

fbshipit-source-id: b81ff74f47c78429977802f7dcadfd1b96676f8c
This commit is contained in:
Jeremy Reizenstein 2022-03-24 06:53:35 -07:00 committed by Facebook GitHub Bot
parent f2cf9d4d0b
commit 92f9dfe9d6

View File

@ -195,7 +195,7 @@ __global__ void RasterizeCoarseCudaKernel(
"To solve, " "To solve, "
"try increasing max_faces_per_bin / max_points_per_bin, " "try increasing max_faces_per_bin / max_points_per_bin, "
"decreasing bin_size, " "decreasing bin_size, "
"or setting bin_size to -1 to use the naive rasterization."; "or setting bin_size to 0 to use the naive rasterization.";
printf(warning); printf(warning);
continue; continue;
} }