bugGNU Octave - Bugs: bug #62317, AVX is missing for FFTW library

 
 

bug #62317: AVX is missing for FFTW library

Submitter:  Jinchuan Tang <jinchuantang>
Submitted:  Fri 15 Apr 2022 03:46:03 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Jinchuan Tang Open/Closed:  * Closed
Release:  * 7.1.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 23 Apr 2022 12:53:01 PM UTC, comment #2: 

With a recent nightly build from the release branch of MXE Octave, I see this:

>> version -fftw
ans = fftw-3.3.10-sse2-avx-avx2-avx2_128-avx512


Closing as fixed.

Markus Mützel <mmuetzel>
Group administrator
Sat 16 Apr 2022 06:26:14 PM UTC, comment #1: 

Thanks for the hint. I pushed a patch to the release branch of MXE Octave here:
https://hg.octave.org/mxe-octave/rev/384668807160

It enables support for AVX in FFTW.

It should be part of the next minor release of Octave.
If you need it earlier or would like to test it, you could check a nightly build from tomorrow April 17th or later:
https://buildbot.octave.space/#/download

Markus Mützel <mmuetzel>
Group administrator
Fri 15 Apr 2022 03:46:03 AM UTC, original submission:  

Dear all,
It seems that both my 6.4 and 7.1 version of Octave on Windows are producing the incorrect version of fftw. It is supposed to be fftw-3.3.10-sse2-avx for I have Intel avx enabled CPUs but the followings are what I have:

>> _octave_config_info_ ("fftw_version")

ans = fftw-3.3.10-sse2

>> _octave_config_info_ ("fftwf_version")

ans = fftw-3.3.10-sse2

>> version -fftw

ans = fftw-3.3.10-sse2

Could there be a problem with the compile flags for windows?
In https://fftw.org/install/windows.html, we see this info:
Options to exploit SSE2/AVX (the DLL is still portable because it checks at runtime to make sure SSE2/AVX is available):
[--enable-float] --enable-sse2.
[--enable-float] --enable-avx.

Thank you very much!

Best wishes,
Jinchuan Tang

Jinchuan Tang <jinchuantang>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by jinchuantang (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-23 mmuetzel StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-04-16 mmuetzel StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code