Skip to content

cblas_cgemm does not use avx512 #28

Open

Description

@dkfirsov

I discovered that compiling library for target zen4 with gcc version 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC) does not enable avx512 acceleration for cblas_cgemm, The performance remains the same as for target zen3. There I used: ./configure CFLAGS="-O3" --enable-cblas --blas-int-size=64 zen4
The same issue I observed in blis-4.0.0. Moreover the performance was a little bit degraded. My code went up in time to 151s. (blis-5.0.0) from (blis-4.0.0) 146s.

Activity

  1. kvaragan commented on Jan 22, 2025

    @kvaragan
    Collaborator

    Hi,
    We haven't written AVX512 kernels for cgemm yet. Right now, they still use avx2 kernels. Around 5.2 they will be available.
    --blas-int-size=64 just builds ILP64.

  2. edwsmyth commented on Mar 20, 2026

    @edwsmyth

    Hi @dkfirsov, our 5.2 release including AVX512 kernels for cblas_cgemm is now available. These are enabled in the zen4, zen5 and amdzen build configurations.

  3. dkfirsov commented on Mar 20, 2026

    @dkfirsov
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions