ROCm/hipamd

How to intercept hipLaunchKernelGGL function?

Opened this issue · 1 comments

I want to intercept/hook hipLaunchKernelGGL by LD_PRELOAD, but hipLaunchKernelGGL is an inline function. What can I do to intercept it?

I'm trying to do AMD GPUs virtualization. How to intercept hipLaunchKernelGGL becomes a big problem. Can anyone give me any suggestions.