Is there a way to profile a CUDA kernel from another CUDA kernel

34 Views Asked by At

I am trying to perform a side-channel attack on a GPU, and I am trying to find out if there is a way to profile a "victim" GPU kernel from a "spy" GPU kernel. It could be anything, like execution time, memory allocation, etc. So, I want a method to get statistics about another kernel in CUDA C++. Is this possible? I want it to be within my code, and not by seeing results from Nsight Compute.

0

There are 0 best solutions below