I've checked your diff-gaussian-rasterization-feature CUDA module, and found that in cuda_rasterizer/backward.cu:line475-480, there is:
if (inside)
for (int i = 0; i < C; i++)
dL_dpixel[i] = dL_dpixels[i * H * W + pix_id];
dL_depth = dL_depths[pix_id];
for (int i = 0; i < NUM_SEMANTIC_CHANNELS; i++)
dL_dfeaturepixel[i] = dL_dfeaturepixels[i * H * W + pix_id];
In CUDA syntax, because of missing curly braces, the scope of the if-condition is ambiguous.
I've checked your
diff-gaussian-rasterization-feature
CUDA module, and found that incuda_rasterizer/backward.cu:line475-480
, there is:In CUDA syntax, because of missing curly braces, the scope of the
if
-condition is ambiguous.