# Researcher

**URL:** <https://forums.developer.nvidia.com/t/researcher/268893>\
**Category:** CUDA Programming and Performance\
**Tags:** c-plus-plus\
**Created:** [October 9, 2023, 2:46pm UTC](https://forums.developer.nvidia.com/t/researcher/268893 "2023-10-09T14:46:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![korobotchkin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@korobotchkin](https://forums.developer.nvidia.com/u/korobotchkin)\
**Post date:** [October 9, 2023, 2:46pm UTC](https://forums.developer.nvidia.com/t/researcher/268893/1 "2023-10-09T14:46:27Z")

</div>

Greetings to the programming community,  
I am writing to seek your assistance and expertise on a topic related to CUDA programming. I could’n launch the sample from nvidia site:

> **[Programming Tensor Cores in CUDA 9 | NVIDIA Technical Blog](https://developer.nvidia.com/blog/programming-tensor-cores-cuda-9/)**
>
> A defining feature of the new Volta GPU Architecture is its Tensor Cores, which give the Tesla V100 accelerator a peak throughput 12 times the 32-bit floating point throughput of the previous…

Visual Studio 2022 doesn’t understand line of code:  
using namespace nvcuda;

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [October 9, 2023, 5:37pm UTC](https://forums.developer.nvidia.com/t/researcher/268893/2 "2023-10-09T17:37:59Z")

</div>

It may be an intellisense issue.

---

<div class="post-metadata">

**Author:** ![korobotchkin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@korobotchkin](https://forums.developer.nvidia.com/u/korobotchkin)\
**Post date:** [October 10, 2023, 8:58am UTC](https://forums.developer.nvidia.com/t/researcher/268893/3 "2023-10-10T08:58:33Z")

</div>

> [@korobotchkin](#):
>
> using namespace nvcuda;

The namespase nvcuda is not available in VS 2022.  
What should I do in order to make namespace nvcuda visible in VS 2022, windows?

---

<div class="post-metadata">

**Author:** ![korobotchkin](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@korobotchkin](https://forums.developer.nvidia.com/u/korobotchkin)\
**Post date:** [October 10, 2023, 9:05am UTC](https://forums.developer.nvidia.com/t/researcher/268893/4 "2023-10-10T09:05:46Z")

</div>

![1](https://global.discourse-cdn.com/nvidia/original/4X/a/2/2/a228d9dbc13902e0ba561262906c87524010b972.png)  
The namespase nvcuda is not available in VS 2022.  
What should I do in order to make namespace nvcuda visible in VS 2022, windows?  
I get the following hint:  
“name must be a namespace”

---

<div class="post-metadata">

**Author:** ![cbuchner1](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbuchner1/32/14168_2.png) [@cbuchner1](https://forums.developer.nvidia.com/u/cbuchner1)\
**Post date:** [October 10, 2023, 3:03pm UTC](https://forums.developer.nvidia.com/t/researcher/268893/5 "2023-10-10T15:03:15Z")

</div>

The \<mma.h\> header file might contain code that is only compiled while building device code. Possibly IntelliSense doesn’t see relevant definitions as a consequence.

It might also make a difference whether you are in a .cpp or a .cu file.
