annotate Lib/fftw-3.2.1/doc/html/.svn/text-base/Multi_002dthreaded-FFTW.html.svn-base @ 0:25bf17994ef1

First commit. VS2013, Codeblocks and Mac OSX configuration
author Geogaddi\David <d.m.ronan@qmul.ac.uk>
date Thu, 09 Jul 2015 01:12:16 +0100
parents
children
rev   line source
d@0 1 <html lang="en">
d@0 2 <head>
d@0 3 <title>Multi-threaded FFTW - FFTW 3.2.1</title>
d@0 4 <meta http-equiv="Content-Type" content="text/html">
d@0 5 <meta name="description" content="FFTW 3.2.1">
d@0 6 <meta name="generator" content="makeinfo 4.8">
d@0 7 <link title="Top" rel="start" href="index.html#Top">
d@0 8 <link rel="prev" href="FFTW-Reference.html#FFTW-Reference" title="FFTW Reference">
d@0 9 <link rel="next" href="FFTW-on-the-Cell-Processor.html#FFTW-on-the-Cell-Processor" title="FFTW on the Cell Processor">
d@0 10 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
d@0 11 <!--
d@0 12 This manual is for FFTW
d@0 13 (version 3.2.1, 5 February 2009).
d@0 14
d@0 15 Copyright (C) 2003 Matteo Frigo.
d@0 16
d@0 17 Copyright (C) 2003 Massachusetts Institute of Technology.
d@0 18
d@0 19 Permission is granted to make and distribute verbatim copies of
d@0 20 this manual provided the copyright notice and this permission
d@0 21 notice are preserved on all copies.
d@0 22
d@0 23 Permission is granted to copy and distribute modified versions of
d@0 24 this manual under the conditions for verbatim copying, provided
d@0 25 that the entire resulting derived work is distributed under the
d@0 26 terms of a permission notice identical to this one.
d@0 27
d@0 28 Permission is granted to copy and distribute translations of this
d@0 29 manual into another language, under the above conditions for
d@0 30 modified versions, except that this permission notice may be
d@0 31 stated in a translation approved by the Free Software Foundation.
d@0 32 -->
d@0 33 <meta http-equiv="Content-Style-Type" content="text/css">
d@0 34 <style type="text/css"><!--
d@0 35 pre.display { font-family:inherit }
d@0 36 pre.format { font-family:inherit }
d@0 37 pre.smalldisplay { font-family:inherit; font-size:smaller }
d@0 38 pre.smallformat { font-family:inherit; font-size:smaller }
d@0 39 pre.smallexample { font-size:smaller }
d@0 40 pre.smalllisp { font-size:smaller }
d@0 41 span.sc { font-variant:small-caps }
d@0 42 span.roman { font-family:serif; font-weight:normal; }
d@0 43 span.sansserif { font-family:sans-serif; font-weight:normal; }
d@0 44 --></style>
d@0 45 </head>
d@0 46 <body>
d@0 47 <div class="node">
d@0 48 <p>
d@0 49 <a name="Multi-threaded-FFTW"></a>
d@0 50 <a name="Multi_002dthreaded-FFTW"></a>
d@0 51 Next:&nbsp;<a rel="next" accesskey="n" href="FFTW-on-the-Cell-Processor.html#FFTW-on-the-Cell-Processor">FFTW on the Cell Processor</a>,
d@0 52 Previous:&nbsp;<a rel="previous" accesskey="p" href="FFTW-Reference.html#FFTW-Reference">FFTW Reference</a>,
d@0 53 Up:&nbsp;<a rel="up" accesskey="u" href="index.html#Top">Top</a>
d@0 54 <hr>
d@0 55 </div>
d@0 56
d@0 57 <h2 class="chapter">5 Multi-threaded FFTW</h2>
d@0 58
d@0 59 <p><a name="index-parallel-transform-316"></a>In this chapter we document the parallel FFTW routines for
d@0 60 shared-memory parallel hardware. These routines, which support
d@0 61 parallel one- and multi-dimensional transforms of both real and
d@0 62 complex data, are the easiest way to take advantage of multiple
d@0 63 processors with FFTW. They work just like the corresponding
d@0 64 uniprocessor transform routines, except that you have an extra
d@0 65 initialization routine to call, and there is a routine to set the
d@0 66 number of threads to employ. Any program that uses the uniprocessor
d@0 67 FFTW can therefore be trivially modified to use the multi-threaded
d@0 68 FFTW.
d@0 69
d@0 70 <p>A shared-memory machine is one in which all CPUs can directly access
d@0 71 the same main memory, and such machines are now common due to the
d@0 72 ubiquity of multi-core CPUs. FFTW's multi-threading support allows
d@0 73 you to utilize these additional CPUs transparently from a single
d@0 74 program. However, this does not necessarily translate into
d@0 75 performance gains&mdash;when multiple threads/CPUs are employed, there is
d@0 76 an overhead required for synchronization that may outweigh the
d@0 77 computatational parallelism. Therefore, you can only benefit from
d@0 78 threads if your problem is sufficiently large.
d@0 79 <a name="index-shared_002dmemory-317"></a><a name="index-threads-318"></a>
d@0 80
d@0 81 <ul class="menu">
d@0 82 <li><a accesskey="1" href="Installation-and-Supported-Hardware_002fSoftware.html#Installation-and-Supported-Hardware_002fSoftware">Installation and Supported Hardware/Software</a>
d@0 83 <li><a accesskey="2" href="Usage-of-Multi_002dthreaded-FFTW.html#Usage-of-Multi_002dthreaded-FFTW">Usage of Multi-threaded FFTW</a>
d@0 84 <li><a accesskey="3" href="How-Many-Threads-to-Use_003f.html#How-Many-Threads-to-Use_003f">How Many Threads to Use?</a>
d@0 85 <li><a accesskey="4" href="Thread-safety.html#Thread-safety">Thread safety</a>
d@0 86 </ul>
d@0 87
d@0 88 <!-- -->
d@0 89 </body></html>
d@0 90