Reputation: 1
I'm trying my first cuda example with vs2019,but i don't know how to eliminate the warning under the <<<>>>, it looks dirty
add <<<1, 1 >> > (2, 7, dev_c);
Upvotes: 0
Views: 573
Reputation: 23808
I am afraid that you cannot get what you want so far.
C++ does not support such cuda's style of writing so far by default. And VS only partly inherits CUDA functionality.
After all, * is not a cuda-specific language editor, so it can't get full Intellisence. It is also only a partial inheritance.
As a suggestion from this document, you should
switch from the Runtime API to the Driver API. The C++ is just C++, and the CUDA is still (sort of) C++, there is no <<<>>> badness for the language parsing to have to work around.
Besides, if it does not meet your requirement, you should contact with the Team to suggest a feature about idea.
Upvotes: 1