Answer the question
In order to leave comments, you need to log in
How to set up visual studio for cuda?
I created a project like "cuda 11.2 runtime" in visual studio but it gives this error.
As I understand it, the problem is in the syntax conflict. If you believe the people who have encountered this, you should ignore these errors, because the code should work anyway, but here's the problem - it doesn't work for me. I suppose the program should output the sums of the array elements as a response, but it gives an error: "addKernel launch failed: no kernel image is available for execution on the device
addWithCuda failed!" in the console. Probably, these errors have 2 different reasons, therefore, I ask two questions:
1. How to fix the "bug search" in the code?
2. How to make the program work correctly?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question