Skip to content

SDK: Can't find cuda_runtime_api.h #906

Answered by madisongh
Achder asked this question in Q&A
Discussion options

You must be logged in to vote

My SDKs are the same - target headers only in the target side of the SDK, and I have some CMake-based CUDA projects that build OK. Are you using CMake CUDA language support, FindCUDA, or something else? Is there anything in your CMake files that might be overriding the compiler flags? There should be a -I flag being passed in that points at the target-side CUDA tree where it's needed.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Achder
Comment options

@madisongh
Comment options

@Achder
Comment options

@madisongh
Comment options

@Achder
Comment options

Answer selected by madisongh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants