| 1 |
This directory contains source code for clFFT library. |
| 2 |
|
| 3 |
The code has been copied verbatim from the source distribution for clFFT |
| 4 |
(https://github.com/clMathLibraries/clFFT) master branch commit c59712e (on Aug 11, 2017), |
| 5 |
which is derived from clFFT release 2.12.2, |
| 6 |
|
| 7 |
by copying the following files/directories recursively: |
| 8 |
|
| 9 |
LICENSE |
| 10 |
NOTICE |
| 11 |
ReleaseNotes.txt |
| 12 |
src/include/ |
| 13 |
src/library/ |
| 14 |
src/statTimer/ |
| 15 |
src/clFFTConfig.cmake.in |
| 16 |
src/clFFTConfigVersion.cmake.in |
| 17 |
src/CMakeLists.txt |
| 18 |
|
| 19 |
The file src/CMakeLists.txt is part of the GROMACS build system and |
| 20 |
has been written from scratch to produce a static build of clFFT. |
| 21 |
|
| 22 |
The GROMACS top-level cmake/FindclFFT.cmake has been written to |
| 23 |
conform to modern CMake standards and provide a simple implementation |
| 24 |
of our default behaviour to link to external clFFT if it is found. |
| 25 |
The version of this file from the git repo has been omitted. |
| 26 |
|
| 27 |
The file src/include/clFFT.version.h is copied from src/include/clFFT.version.h.in, |
| 28 |
substituting the version number placeholders with version 2.14.0 |
| 29 |
(as in the original build script), and defining a static build option. |
| 30 |
|
| 31 |
To compile everything as C++ the src/library/md5sum.c is renamed to cpp and |
| 32 |
the extern "C" is removed from src/library/fft_binary_lookup.cpp. |
| 33 |
|
| 34 |
To be compatible with ISO C++17, we have removed the "register" storage |
| 35 |
class in src/statTimer/statisticalTimer.CPU.cpp and |
| 36 |
src/statTimer/statisticalTimer.GPU.cpp |