ROCm / rocBLAS

Next generation BLAS implementation for ROCm platform
https://rocm.docs.amd.com/projects/rocBLAS/en/latest/
Other
340 stars 157 forks source link

Is there a way to attach rocgdb on kernel? #1334

Closed jeageun closed 1 month ago

jeageun commented 1 year ago

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!

mahmoodw commented 1 year ago

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.

ppanchad-amd commented 1 month ago

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