Skip to content

Fixing Windows compile#58

Open
loscrossos wants to merge 1 commit into
Dao-AILab:mainfrom
loscrossos:causalconvid_CPP_compliancy_and_windows_build_fix2
Open

Fixing Windows compile#58
loscrossos wants to merge 1 commit into
Dao-AILab:mainfrom
loscrossos:causalconvid_CPP_compliancy_and_windows_build_fix2

Conversation

@loscrossos
Copy link
Copy Markdown

@loscrossos loscrossos commented May 27, 2025

this PR fixes the code with standard C++, so that it compiles under windows cleanly. the functionality is not changed at all as iwent extra careful: a standard c++ header is added with windows guardrails. one functon in each of the other 2 cu files merely refactored, again as to comply with the C++ standard. see #57 for a thorough description

Signed-off-by: LosCrossos <165311345+loscrossos@users.noreply.github.com>
@loscrossos loscrossos changed the title windows fix Fixing Windows compile May 27, 2025
@loscrossos
Copy link
Copy Markdown
Author

loscrossos commented May 28, 2025

closed by error :D
pls accept

@loscrossos loscrossos closed this May 28, 2025
@loscrossos loscrossos reopened this May 28, 2025
@juntaosun
Copy link
Copy Markdown

Please merge this PR

@loscrossos
Copy link
Copy Markdown
Author

@tridao please accept this humble offering

Copy link
Copy Markdown

@TimexPeachtree TimexPeachtree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome this has built perfectly on my Win 11 with VS 2022 and CUDA 12.8 with a Graphics card with CUDA Compute 8.9 Capability

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.

3 participants