You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a bit of trouble with the MacOSX build and GEARSHIFFT_BACKEND_FFTW_THREADS. There are two things that may be suboptimal:
There is only a single flag GEARSHIFFT_BACKEND_FFTW_THREADS that seems to be triggered for FFTW and FFTWWrappers. Is this intentionally? I would assume that the libraries require separate flags since they do not necessarily share any properties, or am I on the wrong track(?)
in inc/libraries/fftw/fftw.hpp:381. Since I have GEARSHIFFT_BACKEND_FFTW_THREADS not set on MacOSX, cmake creates the compiler define as -DGEARSHIFFT_BACKEND_FFTW_THREADS="". Apple Clang does not seem like this combination, it complains about error: invalid token at start of a preprocessor expression. I guess this needs some sort of resolution. I could think of several simple workarounds, like defining GEARSHIFFT_BACKEND_FFTW_THREADS as 0 or 1 instead of empty, or other similar solutions. Do you have a specific preference?
The text was updated successfully, but these errors were encountered:
FFTWWrappers backend just uses the FFTW backend code. CMake invokes different include and lib paths for FFTWWrappers, but it does not change the backend code itself, thus the same flag is applied here. So it is intentional, because the FFTW backend code is not supposed to contain FFTWWrappers' logic (as FFTWWrappers just wraps FFTW).
Ah ok, yes, the FFTWWrappers part in cmake is incomplete, I'll gonna fix it.
I'm having a bit of trouble with the MacOSX build and
GEARSHIFFT_BACKEND_FFTW_THREADS
. There are two things that may be suboptimal:GEARSHIFFT_BACKEND_FFTW_THREADS
that seems to be triggered forFFTW
andFFTWWrappers
. Is this intentionally? I would assume that the libraries require separate flags since they do not necessarily share any properties, or am I on the wrong track(?)in inc/libraries/fftw/fftw.hpp:381. Since I have
GEARSHIFFT_BACKEND_FFTW_THREADS
not set on MacOSX, cmake creates the compiler define as-DGEARSHIFFT_BACKEND_FFTW_THREADS=""
. Apple Clang does not seem like this combination, it complains abouterror: invalid token at start of a preprocessor expression
. I guess this needs some sort of resolution. I could think of several simple workarounds, like definingGEARSHIFFT_BACKEND_FFTW_THREADS
as0
or1
instead of empty, or other similar solutions. Do you have a specific preference?The text was updated successfully, but these errors were encountered: