rocBLAS icon indicating copy to clipboard operation
rocBLAS copied to clipboard

Is there a way to attach rocgdb on kernel?

Open jeageun opened this issue 1 year ago • 1 comments

Currently, I'm trying to add some features in GEMM kernels. Is there a way to attach rocgdb on kernel such that I can go line-by-line debugging? Even if I compile the kernel with -O0 -g -ggdb option and compile rocBLAS with the same options, rocgdb could not step into the kernel from LaunchKernel function calls.

Thanks!

jeageun avatar Jun 27 '23 20:06 jeageun

Hello @jeageun, most of our GEMMs make use of assembly kernels that may require additional steps. Can you confirm that you are able to step through other functions that use solely source kernels. (e.g L1, L2 blas functions) We will then be able to direct support more accordingly.

mahmoodw avatar Jun 30 '23 19:06 mahmoodw

@jeageun Do you still need assistance with this ticket? If not, please close the ticket. Thanks!

ppanchad-amd avatar Jul 24 '24 18:07 ppanchad-amd