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 ?

2
3 comments
Avatar
Permanently deleted user

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

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
Avatar
Permanently deleted user

You can try suppressing VS errors with this setting:

0

Please sign in to leave a comment.