octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63184] [MXE Octave] AMD ZEN AOCL library supp


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63184] [MXE Octave] AMD ZEN AOCL library support for blas, lapack and fftw
Date: Mon, 10 Oct 2022 06:07:26 -0400 (EDT)

Follow-up Comment #17, bug #63184 (project octave):

Also, allegedly, libflame is very good at Cholesky decomposition.
But I do not see this (perhaps I am doing smth wrong):

Test script:


cat t_chol.m 
runs = 10;
cumulate = 0;
b = zeros(5000);
for ii = 1:runs
  a = randn(5000);
  a = a'*a;
  tic;
    b = chol(a);
  timing = toc;
  cumulate = cumulate + timing;
end




$ OMP_NUM_THREADS=8
LD_PRELOAD=/opt/AMD/aocl/aocl-linux-gcc-3.2.0/lib_LP64/libflame.so octave -q
octave:1> t_chol
octave:2> cumulate 
cumulate = 6.1918
octave:3> 

$ OMP_NUM_THREADS=8 octave -q
octave:1> t_chol
octave:2> cumulate 
cumulate = 2.2371

$ OMP_NUM_THREADS=16
LD_PRELOAD=/opt/AMD/aocl/aocl-linux-gcc-3.2.0/lib_LP64/libflame.so octave -q
octave:1> t_chol
octave:2> cumulate 
cumulate = 6.0178
octave:3> 

$ OMP_NUM_THREADS=16 octave -q
octave:1> t_chol
octave:2> cumulate 
cumulate = 1.7002



Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63184>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]