MrNeRF / gaussian-splatting-cuda

3D Gaussian Splatting, reimagined: Unleashing unmatched speed with C++ and CUDA from the ground up!
Other
909 stars 74 forks source link

Does __fmaf really help? #36

Closed kwea123 closed 1 year ago

kwea123 commented 1 year ago

I see you replace basically every operation with this intrinsics, but according to this there is zero speedup, they serve only for predictable rounding.

MrNeRF commented 1 year ago

Yes, I've had the same experience. I tried it mainly because the NVIDIA CUDA profiler kept suggesting these operations to enhance speed. However, in terms of speed, it doesn't seem to be beneficial at all. Instead, it tends to obfuscate and makes the code more difficult to understand.