cancel
Showing results for 
Search instead for 
Did you mean: 

Discussions

sammtan
Journeyman III

Strange behavior for HIP Visual Studio Extension

I'm facing troubles when installing AMD HIP for Windows. This is about its Visual Studio Extension. I'm trying to install HIP for Visual Studio Preview. HIP is not the only GPGPU toolset I use in my machine, there is also CUDA because my machine has NVIDIA graphics card instead of AMD. But it's still possible to use, isn't it? I know there are HIP compiler for NVCC.

These problems occur in the following order.
1. I install Visual Studio 2022 Preview. Everything seems fine.
2. I install HIP. It was installed, but its extension for VS seems not working. I can't create new HIP Runtime project. There are no HIP project templates.
3. I install CUDA. It was installed, and it seems like it worked. I can create new CUDA project, the template was there. 
4. I'm looking for solution to manually install HIP extension for VS. I found this link: [Issue]: Unable to install HIP extension for Visual Studio 2022 · Issue #3420 · ROCm/HIP (github.com.... It's okay, I found the .msi file to install the plugin.
5. Then I install the plugin. It works. I can create new HIP Runtime project. HIP project templates are there. I can compile it by choosing "AMD HIP for nvcc compiler" and it runs on my machine with RTX.
6. CUDA project templates was no longer there. It's missing. I can't create new CUDA project.

What did go wrong? Please help :D.

0 Likes
1 Solution
sammtan
Journeyman III

Restarting Windows solves the issue.

View solution in original post

0 Likes
1 Reply
sammtan
Journeyman III

Restarting Windows solves the issue.

0 Likes