blis icon indicating copy to clipboard operation
blis copied to clipboard

support compilation with AOCC

Open dkokron opened this issue 3 years ago • 2 comments

I'm attempting to compile on a Rome CPU under Ubuntu-22.04 using the AOCC-4.0.0 release clang --version AMD clang version 14.0.6 (CLANG: AOCC_4.0.0-Build#434 2022_10_28) (based on LLVM Mirror.Version.14.0.6) Target: x86_64-unknown-linux-gnu Thread model: posix

My configure appear to complete without error blis > ./configure CC=clang CXX=clang++ FC=flang --prefix=$PWD/install --enable-threading=pthreads amd64

blis :( > make config/generic/make_defs.mk:74: *** gcc, icc, or clang is required for this configuration.. Stop.

CC_VENDOR is set to aocc config.mk:CC_VENDOR := aocc

The logic in config/generic/make_defs.mk doesn't include aocc as an option.

dkokron avatar Jan 24 '23 18:01 dkokron

can you try zen2 config ./configure CC=clang CXX=clang++ FC=flang --prefix=$PWD/install --enable-threading=pthreads zen2

Latest blis code optimized for AMD EPYC processors you can find at : https://github.com/amd/blis

  • you can select config as amdzen

kvaragan avatar Feb 06 '23 04:02 kvaragan

Firan, Yes, the zen2 target does work with AOCC. Dan

On Sun, Feb 5, 2023 at 10:10 PM Kiran @.***> wrote:

can you try zen2 config ./configure CC=clang CXX=clang++ FC=flang --prefix=$PWD/install --enable-threading=pthreads zen2

Latest blis code optimized for AMD EPYC processors you can find at : https://github.com/amd/blis

  • you can select config as amdzen

— Reply to this email directly, view it on GitHub https://github.com/flame/blis/issues/715#issuecomment-1418481880, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACODV2BQCAM6AKT6XTANG7TWWB2SFANCNFSM6AAAAAAUFNCTUQ . You are receiving this because you authored the thread.Message ID: @.***>

dkokron avatar Feb 06 '23 14:02 dkokron