- Logic to calculate the kernel index in AVX512 DGEMMT SUP framework is incorrect. - The granularity for workload distribution along N dimension is NR(8), whereas current logic to pick diagonal kernel assumes the granularity to be MR (24). - To Fix this, the logic to determine the kernel index is changed, instead of relying solely on n_offset, the kernel index is derived depending on distance from the diagonal. - If distance from diagonal is greater than LCM of (MR and NR) - NR, that that means the current micro panel is not a diagonal micro panel. - If the micro panel is a diagonal micro panel, then the distance from diagonal is equal to the M dimension for initial full GEMM region or empty region of diagonal kernel. This info can be used to determine the kernel index. AMD-Internal: [CPUPL-5440] Change-Id: I640d3a1b43e63b24bc9f0ed4a67cced45f6fa3b3
AOCL-BLAS library
AOCL-BLAS is AMD's optimized version of BLAS targeted for AMD EPYC and Ryzen CPUs. It is developed as a forked version of BLIS (https://github.com/flame/blis), which is developed by members of the Science of High-Performance Computing (SHPC) group in the Institute for Computational Engineering and Sciences at The University of Texas at Austin and other collaborators (including AMD). All known features and functionalities of BLIS are retained and supported in AOCL-BLAS library. AOCL-BLAS is regularly updated with the improvements from the upstream repository.
AOCL BLAS is optimized with SSE2, AVX2, AVX512 instruction sets which would be enabled based on the target Zen architecture using the dynamic dispatch feature. All prominent Level 3, Level 2 and Level 1 APIs are designed and optimized for specific paths targeting different size spectrums e.g., Small, Medium and Large sizes. These algorithms are designed and customized to exploit the architectural improvements of the target platform.
For detailed instructions on how to configure, build, install, and link against AOCL-BLAS on AMD CPUs, please refer to the AOCL User Guide located on AMD developer portal.
The upstream repository (https://github.com/flame/blis) contains further information on BLIS, including background information on BLIS design, usage examples, and a complete BLIS API reference.
AOCL-BLAS is developed and maintained by AMD. You can contact us on the email-id toolchainsupport@amd.com. You can also raise any issue/suggestion on the git-hub repository at https://github.com/amd/blis/issues.