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

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

[Octave-bug-tracker] [bug #66882] Convolution code path improvements


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #66882] Convolution code path improvements
Date: Tue, 22 Apr 2025 18:53:57 -0400 (EDT)

Follow-up Comment #73, bug #66882 (group octave):

Apparently, the "mixed" complex*real wrappers aren't used anywhere either.

See the attached wip patch that builds for me locally with GCC and Clang. (I
haven't removed these "mixed" wrappers yet. Just commented them out.)
I tried to static_cast the complex scalar. But apparently that isn't allowed.
Neither does it work with reinterpret_cast. (Maybe, because of a potentially
different memory alignment?)
I resorted to a memcpy to "convert" from the C++ to the C type.

(file #57160)

    _______________________________________________________

Additional Item Attachment:

File name: bug66882-cxx-blas-wrappers.patch Size: 4KiB

<https://file.savannah.gnu.org/file/bug66882-cxx-blas-wrappers.patch?file_id=57160>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-962f8dd2e65d30409210f66560945e9bbc413549.tar.gz


    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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