[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas,
From: |
Jinchuan Tang |
Subject: |
[Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw |
Date: |
Sat, 8 Oct 2022 09:13:24 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63184>
Summary: AMD ZEN AOCL library support for blas, lapack and
fftw
Project: GNU Octave
Submitter: jinchuantang
Submitted: Sat 08 Oct 2022 01:13:21 PM UTC
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Performance
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.2.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 08 Oct 2022 01:13:21 PM UTC By: Jinchuan Tang <jinchuantang>
Dear team,
Today I tried to use the AMD opensource version of blas by renaming and
copying the dll AOCL-LibBlis-Win-dll.dll (C:\Program
Files\AMD\AOCL-Windows\amd-blis\lib\LP64) to libblas.dll ( C:\Program
Files\GNU Octave\Octave-7.2.0\mingw64\bin) .
The libs can be downloaded from
https://developer.amd.com/amd-optimizing-cpu-libraries_eula/
I noticed a speedup from 1.51017 seconds (openblas) to 1.28942 seconds (AOCL)
on my AMD 5950x machine for the following code:
a2 = ones(2000,'single');
tic
for i = 1:100
a2*a2;
end
toc
In the meantime, as seen in the attached fig, I have a problem with lapack
while renaming and copying the dll AOCL-LibFlame-Win-MT-dll.dll (C:\Program
Files\AMD\AOCL-Windows\amd-libflame\lib\LP64)to liblapack.dll ( C:\Program
Files\GNU Octave\Octave-7.2.0\mingw64\bin) .
One reason I am doing this was that now matlab 2022 starts to support those
libs:
https://uk.mathworks.com/matlabcentral/answers/1672304-how-can-i-use-the-blas-and-lapack-implementations-included-in-amd-optimizing-cpu-libraries-aocl-wi
I guess if AOCL is open source, we can give the community more options to
choose the libs and speedup their programs.
libiomp5:
https://www.dll-files.com/download/3a7902626cddec83a3da541a96118b46/libiomp5md.dll.html?c=dFZMSXhUYkJWbGEyMEN3bXN0b
Best wishes,
Jinchuan Tang
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 08 Oct 2022 01:13:21 PM UTC Name: lapack.png Size: 19KiB By:
jinchuantang
<http://savannah.gnu.org/bugs/download.php?file_id=53816>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63184>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw,
Jinchuan Tang <=
- [Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw, Markus Mützel, 2022/10/08
- [Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw, Jinchuan Tang, 2022/10/08
- [Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw, Dmitri A. Sergatskov, 2022/10/08
- [Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw, Dmitri A. Sergatskov, 2022/10/08
- [Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw, Dmitri A. Sergatskov, 2022/10/08
- [Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw, Markus Mützel, 2022/10/09
- [Octave-bug-tracker] [bug #63184] AMD ZEN AOCL library support for blas, lapack and fftw, Jinchuan Tang, 2022/10/09
- [Octave-bug-tracker] [bug #63184] [MXE Octave] AMD ZEN AOCL library support for blas, lapack and fftw, Markus Mützel, 2022/10/10
- [Octave-bug-tracker] [bug #63184] [MXE Octave] AMD ZEN AOCL library support for blas, lapack and fftw, Markus Mützel, 2022/10/10
- [Octave-bug-tracker] [bug #63184] [MXE Octave] AMD ZEN AOCL library support for blas, lapack and fftw, anonymous, 2022/10/10