resharper c++ does not find certain cuda commands.

i believe cuda is supported but the

__syncthreads()

__threadfence()

__threadfence_block()

(to name a few)

commands does not come in the autocomplete menu, also says its undefined (in the error list).

another issue i noticed is that  the <<< operator in cuda is unrecognized.  is it possible to get a fix for this ?

3 comments
Comment actions Permalink

Hello,

https://youtrack.jetbrains.com/issue/RSCPP-26537 tracks issues with builtins in CUDA. What do you mean exactly by <<< operator? R++ should support <<<...>>> argument lists.

Thanks!

0
Comment actions Permalink

my bad. no issues with that but it just shows red squigly lines, eg:

addKernel<<<1, size>>>(dev_c, dev_a, dev_b);

which is also the case with just visual studio. 

thanks for the help.

0
Comment actions Permalink

You can try suppressing VS errors with this setting:

0

Please sign in to leave a comment.