Follow up on post with additional questions and images- gpu memory nsight compute wsl 2

Hi everyone, just wanted to follow up with to that post with some additional details and images

old-post

When i run the following code

nvcc -o 00 00\ nvtx_matmul.cu -lnvToolsExt
nsys profile --stats=true ./00

The ncu-ui app i use to profile

shows the following

as u can see

it does not seem to be showing the cuda HW section at all
What is interesting is

The setting to access performance counters is enabled on windows.

Suspecting a wsl based issue
i tried compiling it on windows

00_nvtx_matmul.cu
tmpxft_00003808_00000000-10_00_nvtx_matmul.cudafe1.cpp
LINK : fatal error LNK1181: cannot open input file 'nvToolsExt.lib'
PS C:\Users\aryan\Downloads\cuda_project>

Which is confusing to me because I thought nvtx was included with the cuda toolkit installation.

i installed cuda toolkit both in wsl and on widnows

and on wsl

[4/8] Executing ‘osrt_sum’ stats report

the following line has data associated with whereas on windows it does not(also the nvtx compilation succeeds on wsl)

It succeeds when i do not link the -lnv tools text command

It does show the cuda HW module, but under threads it shows msedge.exe, and crbrowser and things like that which are not expected in the profiling of the code I am doing

Some help to debug all these issues would be much appreciated. i would be happy to provide anything needed from my side

I would much like to be running all my code on wsl rather than have to be utilizing windows for all my tasks

see notes on GPU memory not recognized for the code - nsight compute

Replied on the post under https://forums.developer.nvidia.com/t/gpu-memory-not-recognized-for-the-code-nsight-compute/323099/6