Skip to content

Commit

Permalink
Changed the behaviour of optimization switch AMD_OPT_PREFER_256BIT_FPU.
Browse files Browse the repository at this point in the history
Disabled by default. It should be turned on explicitly when WISDOM feature is not used.

Change-Id: I92c2929fa329a44cfe83b5a8929b05fcb66ab420
  • Loading branch information
BiplabRaut committed Nov 18, 2020
1 parent 8beebbe commit 7033737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/ifftw.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ extern "C"

//--------------------------------
//disables 128-bit AVX2 versions of kernels and prefers only 256-bit AVX2 kernels support
#define AMD_OPT_PREFER_256BIT_FPU
//This optimization switch is disabled by default. If it is enabled, WISDOM feature is not to be used.
//#define AMD_OPT_PREFER_256BIT_FPU
#define AMD_OPT_128BIT_KERNELS_THRESHOLD 1024//Below this SIZE, 128-bit AVX2 kernels allowed
//--------------------------------
//CPY2d related optimizations :- enable Either (i)C switch Or (ii)INTRIN switch
Expand Down

0 comments on commit 7033737

Please sign in to comment.