Link to fftw3f library. Added test with swapped dimensions
This commit is contained in:
parent
c49c8cb232
commit
ed1fede33d
@ -55,6 +55,7 @@ include(FindHDF5)
|
||||
include(FindPkgConfig)
|
||||
|
||||
pkg_check_modules(FFTW3 fftw3>=3.3)
|
||||
pkg_check_modules(FFTW3F fftw3f>=3.3)
|
||||
pkg_check_modules(EIGEN3 eigen3)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
|
@ -44,9 +44,9 @@ target_link_libraries(testAlgo ${tolink})
|
||||
add_executable(testBSP testBSP.cpp)
|
||||
target_link_libraries(testBSP ${tolink})
|
||||
|
||||
if (FFTW3_FOUND AND EIGEN3_FOUND)
|
||||
if (FFTW3_FOUND AND FFTW3F_FOUND AND EIGEN3_FOUND)
|
||||
add_executable(test_fft_calls test_fft_calls.cpp)
|
||||
target_link_libraries(test_fft_calls ${tolink} ${FFTW3_LIBRARIES})
|
||||
target_link_libraries(test_fft_calls ${tolink} ${FFTW3_LIBRARIES} ${FFTW3F_LIBRARIES})
|
||||
endif (FFTW3_FOUND AND EIGEN3_FOUND)
|
||||
|
||||
if (SHARP_LIBRARY AND SHARP_INCLUDE_PATH AND EIGEN3_FOUND)
|
||||
|
@ -51,7 +51,9 @@ int main(int argc, char **argv)
|
||||
{
|
||||
test_2d<double>(128,128);
|
||||
test_2d<double>(131,128);
|
||||
test_2d<double>(130,128);
|
||||
test_2d<float>(128,128);
|
||||
test_2d<float>(131,128);
|
||||
test_2d<float>(128,131);
|
||||
test_2d<float>(128,130);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user