Memset and GEMM kernel

Hi,

I am checking my trace with nsys-ui. In some cases, I am seeing memset before GEMM kernels and sometimes I am not seeing anything before GEMM kernels. Almost for small size GEMM I am seeing this operation. Why do we have memset and why it is not for all GEMMs kernels?

@skottapalli can you address this?

Hello @nokanaran
I am guessing that you are referring to the GEMM kernels of cuBLAS. This question may be better suited for the cuBLAS forum.