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

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

[Octave-bug-tracker] [bug #60818] delaunayn - 2D code path vectorization


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #60818] delaunayn - 2D code path vectorization doesn't match nD algorithm
Date: Wed, 30 Jun 2021 04:25:40 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #15, bug #60818 (project octave):

I am somewhat lost with all the changes being made, perhaps its is irrelevant,
but the LU code from comment #4 cannot handle
single precision input:


 octave -q -f
warning: function /home/dima/scratch/delaunayn.m shadows a core library
function
octave:1> x = single(rand(1000,1)*4-2);
octave:2> y = single(rand(1000,1)*4-2);
octave:3> z = single(rand(1000,1)*4-2);
octave:4> p = single(rand(1000,1)*4-2);
octave:5> n = 10; tic; for idx = 1:n, delaunayn([x,y,z]); endfor; toc
error: operator =: no conversion for assignment of 'float matrix' to indexed
'sparse matrix'
error: called from
    delaunayn at line 114 column 54
octave:6> n = 10; tic; for idx = 1:n, delaunayn([x,y]); endfor; toc
Elapsed time is 0.0229518 seconds.
octave:7> 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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