Skip to content

Conversation

@stotko
Copy link
Member

@stotko stotko commented May 13, 2025

The CUDA flags set by PyTorch are appended to CUDA_NVCC_FLAGS which will not be available in parent or sibling directories and may lead to compiler errors, e.g., in the C++ only mode. Handle these usage requirements more robustly by transferring them as an INTERFACE property to the torch_cuda target.

@stotko stotko added the added label May 13, 2025
@stotko stotko merged commit 1b2815a into main May 13, 2025
24 checks passed
@stotko stotko deleted the cuda_flags branch May 13, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants