Skip to content

Add MSVC support for function in RasterizeToPixelsFromWorld3DGSParallelBatchBwd.cu#1008

Open
SaurSum8 wants to merge 1 commit into
nerfstudio-project:mainfrom
SaurSum8:add-msvc-support-clzll
Open

Add MSVC support for function in RasterizeToPixelsFromWorld3DGSParallelBatchBwd.cu#1008
SaurSum8 wants to merge 1 commit into
nerfstudio-project:mainfrom
SaurSum8:add-msvc-support-clzll

Conversation

@SaurSum8

@SaurSum8 SaurSum8 commented Jul 7, 2026

Copy link
Copy Markdown

Fixes #1007

This fixes a Windows/MSVC build failure because __builtin_clzll is GCC/Clang-specific. On MSVC, the code now uses _BitScanReverse64 from <intrin.h>. The existing x <= 1 guard ensures the intrinsic is only called with a nonzero value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows/MSVC build fails because __builtin_clzll is not available

1 participant