How are the dgemm kernels called?

13 views
Skip to first unread message

Harsh Vardhan Kumar

unread,
Aug 24, 2021, 4:01:12 AM8/24/21
to OpenBLAS-users
Hi,

I'm unable to detect the location (code) where the specific dgemm_kernels_*.S code are embedded/called. Where is the driver function which calls these kernels?

Also, is there any provision to provide custom tile size (kernel size) for level-2 or level-3 functions?

Any reference will be of huge help.

Thanks,
Harsh

martin-frbg

unread,
Aug 27, 2021, 4:25:07 AM8/27/21
to OpenBLAS-users
Code flow is from interface/gemm.c to driver/level3/*gemm*.c to the kernels in kernel/ - which kernel gets called on a specific cpu is defined in the KERNEL.cpuname
files and by the xGEMM_DEFAULT_UNROLL_M, xGEMM_DEFAULT_UNROLL_N parameters for that cpu in param.h
Reply all
Reply to author
Forward
0 new messages