Refactor NSS and DNSS implementations for improved readability and modularity#6
Refactor NSS and DNSS implementations for improved readability and modularity#6eclipse0922 wants to merge 1 commit intomasterfrom
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
PR Description updated to latest commit (c1f2767) |
PR Reviewer Guide 🔍(Review updated until commit b7adea4)Here are some key observations to aid the review process:
|
…dularity - Rewrote legacy code into clean C++17 style. - Added missing method implementations and input validation. - Introduced options struct for configurable parameters in NSS and DNSS. - Implemented CUDA support for DNSS rotational feature computation. - Added new CMake configuration for building with or without CUDA. - Updated README to reflect changes and provide build instructions. - Added .gitignore to exclude build directories.
c1f2767 to
b7adea4
Compare
|
PR Description updated to latest commit (b7adea4) |
|
Persistent review updated to latest commit b7adea4 |
PR Code Suggestions ✨Latest suggestions up to b7adea4
Previous suggestionsSuggestions up to commit c1f2767
|
User description
PR Type
Enhancement, Bug fix, Documentation
Description
Refactored NSS and DNSS implementations into clean C++17 with modular design and options structs.
Added input validation, missing method implementations, and improved bucket-based sampling logic.
Implemented optional CUDA acceleration for DNSS rotational feature computation.
Updated documentation, build system (CMake), and README with clear usage and configuration instructions.
Changes walkthrough 📝
NSS.cpp
Refactored NSS/DNSS core logic and samplingNSS.cpp
C++17 code.
sphericalBucketIndex,computeCenteredAndScaledVertices, andcomputeRotationalReturnValue.efficiency.
NSS.h
Modernized header with options and dependenciesNSS.h
options.
Optionsfor bothNSSandDNSS, including CUDA and bucketconfiguration.
glm::fvec3fallback.dnss_cuda.cu
Added CUDA implementation for DNSSdnss_cuda.cu
DNSSComputeRotationalFeaturesCudawith fallbacklogic.
CMakeLists.txt
Added CMake CUDA integrationCMakeLists.txt
DNSS_ENABLE_CUDA.dnss_cuda.cuand set appropriate compile definitions andproperties.
README.md
Updated documentation and build guideREADME.md
build instructions.