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);
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);
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
Besides, if it does not meet your requirement, you should contact with the Team to suggest a feature about idea.