flame / blis

BLAS-like Library Instantiation Software Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DLL drop-in performance 10x lower than openBlas on Octave

tangjinchuan opened this issue · comments

Dear developers,

I am using the dll from AMD (https://developer.amd.com/amd-optimizing-cpu-libraries_eula/) to test its compatibility and performance on Windows. The dll name is AOCL-LibBlis-Win-dll.dll which can be found in C:\Program Files\AMD\AOCL-Windows\amd-blis\lib\LP64. I modified this name to libblas.dll and placed it into C:\Program Files\GNU Octave\Octave-7.2.0\mingw64\bin where there was an openBlas version with the same name.
I found out that while executing the following Octave command on AMD 5950x, it gives around 10x lower performance compared with openBlas.

a2 = ones(2000,'single');
tic
for i = 1:100
a2*a2;
end
toc

Thank you very much!
Best wishes,
Jinchuan