Skip to content

Removed explicit "-std:c++17" on windows - #22

Merged
iwald-nvidia merged 4 commits into
NVIDIA:mainfrom
ingowald:main
Jun 17, 2026
Merged

iwald-nvidia merged 4 commits into
NVIDIA:mainfrom
ingowald:main

Conversation

@ingowald

Copy link
Copy Markdown
Contributor

Current version (without this patch) has an explciit addition of std-17 to the ptx generation rule on windows.
This works great standalone, but can create conflicts if projects using owl add their own standard for cu files (as for example doen in barney), in which case VS actually bails out with an error (rather than just taking the last flag it sees).

This PR removes this std-17 flag in ptx generation, leaving it to the parent project to set standards.

@iwald-nvidia
iwald-nvidia merged commit 162af92 into NVIDIA:main Jun 17, 2026
6 checks passed
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.

2 participants