fftw_threads.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*******************************************************************************
  2. ! Copyright (c) 2003 Matteo Frigo
  3. ! Copyright (c) 2003 Massachusetts Institute of Technology
  4. !
  5. ! This program is distributed with permission
  6. !
  7. !*******************************************************************************/
  8. #ifndef FFTW_THREADS_H
  9. #define FFTW_THREADS_H
  10. #include "fftw.h"
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif /* __cplusplus */
  14. /******************** User Interface *********************/
  15. extern void fftw_threads(int nthreads,
  16. fftw_plan plan, int howmany, fftw_complex *in, int istride,
  17. int idist, fftw_complex *out, int ostride, int odist);
  18. extern void fftwnd_threads(int nthreads,
  19. fftwnd_plan plan, int howmany,
  20. fftw_complex *in, int istride, int idist,
  21. fftw_complex *out, int ostride, int odist);
  22. extern void fftw_threads_one(int nthreads,
  23. fftw_plan plan,
  24. fftw_complex *in, fftw_complex *out);
  25. extern void fftwnd_threads_one(int nthreads,
  26. fftwnd_plan plan,
  27. fftw_complex *in, fftw_complex *out);
  28. extern int fftw_threads_init(void);
  29. #ifdef __cplusplus
  30. } /* extern "C" */
  31. #endif /* __cplusplus */
  32. #endif /* FFTW_THREADS_H */