Jump to content

CUDA Toolkit Problems

LtStaffel

Hello,

I've just installed CUDA Toolkit, and Visual Studio Community 2015.  CUDA Toolkit did not see I have VS 2015 installed, is that the reason why when I try to use gcc to compile deviceQuery to test CUDA Toolkit it terminates compilation at #include <cuda_runtime.h>?  Or is it a different reason?

 

Thanks in advance

Join the Appleitionist cause! See spoiler below for answers to common questions that shouldn't be common!

Spoiler

Q: Do I have a virus?!
A: If you didn't click a sketchy email, haven't left your computer physically open to attack, haven't downloaded anything sketchy/free, know that your software hasn't been exploited in a new hack, then the answer is: probably not.

 

Q: What email/VPN should I use?
A: Proton mail and VPN are the best for email and VPNs respectively. (They're free in a good way)

 

Q: How can I stay anonymous on the (deep/dark) webzz???....

A: By learning how to de-anonymize everyone else; if you can do that, then you know what to do for yourself.

 

Q: What Linux distro is best for x y z?

A: Lubuntu for things with little processing power, Ubuntu for normal PCs, and if you need to do anything else then it's best if you do the research yourself.

 

Q: Why is my Linux giving me x y z error?

A: Have you not googled it? Are you sure StackOverflow doesn't have an answer? Does the error tell you what's wrong? If the answer is no to all of those, message me.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Unless it changed recently, CUDA doesn't support VS 2015 yet. You'll have to get VS 2013.

As for the gcc thing, what error are you getting? Are you telling it where the CUDA headers are?

1474412270.2748842

Link to comment
Share on other sites

Link to post
Share on other sites

Unless it changed recently, CUDA doesn't support VS 2015 yet. You'll have to get VS 2013.

As for the gcc thing, what error are you getting? Are you telling it where the CUDA headers are?

Ok, I'll try to downgrade.  The error I'm getting just says that there is no such file or directory as "#include <cuda_runtime.h>" and that is in the deviceQuery C++ source code that I tried to compile to run.  Nvidia said you should be able to just run it and not have any problems but apparently I didn't get the compiled version or something.  And I'm not telling it where the cuda headers are as Nvidia said it should be ok, but I'm not very good at C++ (I'm hoping to learn as I use CUDA on my programs) so I'm not sure how to tell it where they are, I don't even know where they are if I did know how to point it at them.

Join the Appleitionist cause! See spoiler below for answers to common questions that shouldn't be common!

Spoiler

Q: Do I have a virus?!
A: If you didn't click a sketchy email, haven't left your computer physically open to attack, haven't downloaded anything sketchy/free, know that your software hasn't been exploited in a new hack, then the answer is: probably not.

 

Q: What email/VPN should I use?
A: Proton mail and VPN are the best for email and VPNs respectively. (They're free in a good way)

 

Q: How can I stay anonymous on the (deep/dark) webzz???....

A: By learning how to de-anonymize everyone else; if you can do that, then you know what to do for yourself.

 

Q: What Linux distro is best for x y z?

A: Lubuntu for things with little processing power, Ubuntu for normal PCs, and if you need to do anything else then it's best if you do the research yourself.

 

Q: Why is my Linux giving me x y z error?

A: Have you not googled it? Are you sure StackOverflow doesn't have an answer? Does the error tell you what's wrong? If the answer is no to all of those, message me.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×