Clicking around the website a bit, it would seem that the author is a library writer (some specifically targeting GPUs), and the article is a plug for the books he's written about numerical analysis. How confident are you?
- it's not that much code
- it's not terrifyingly hard to understand
- you might open up performance benefits in your specific circumstance just by knowing how it's calculated after writing the code to do it yourself
Also, if you are using libraries written by grad students, then you probably need to find better libraries. All of the major battle-hardened ones like BLAS, LAPACK, CUDNN, TF, FFTW, etc., have had major big brains looking at them for years. Decades in some cases.
However, if this post leaves you open to the option that you might know more about $THING than a library author... that is probably a very healthy possibility to consider.
(Consider. Some are that grad student who got assigned to write the library because they were too useless to do anything else. Others are David M Gay.)
If you write the procedure in raw CUDA, for example, it is faster to simply broadcast the dot products across threads. That is exactly what the matrix multiply is doing except without the overhead of matrix creation and with potentially greater locality of memory accesses.
Edit: I do think it is worthwhile to write your own code so that you better understand what is happening under the hood, so good on the author for that.