How to debug an HIP/HIPRT application on windows?

58 Views Asked by At

I'm writing a path tracer using HIPRT on Windows but I couldn't find anything to debug my application yet. I'd like to be able to execute my kernels line by line, watch kernel variables, print to console, ... Those are features available in CUDA with the Nsight extension of Visual Studio.

There is supposedly a Visual Studio extension but I couldn't find any way to install it. This ROCm tutorial explains how to build the extension yourself but every link to the Visual Studio project used to build the extension is a dead link.

The Windows HIP SDK installer provides an option to install the extension to Visual Studio for you but ticking the checkbox always results in an error during the installation (it seems I'm not the only one). The only way I can complete the installtion of the SDK is by not installing the HIP extension to Visual Studio.

Unless there is another way to get the HIP extension to work in VS, what tools are there to debug my code on Windows?

0

There are 0 best solutions below