File: index.html

package info (click to toggle)
tbb 4.3~20150611-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 19,048 kB
  • ctags: 23,978
  • sloc: cpp: 108,279; ansic: 9,644; makefile: 1,062; asm: 1,062; sh: 349; java: 226; objc: 98; pascal: 69; xml: 41
file content (67 lines) | stat: -rw-r--r-- 3,170 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<HTML>
<BODY>

<H2>Overview</H2>
<DL>
<DT>A simple example that uses the parallel_for template in a substring matching program. For each position 
in a string, the program displays the length of the largest matching substring elsewhere in the string. 
The program also displays the location of a largest match for each position.  Consider the string "babba" 
as an example. Starting at position 0, "ba" is the largest substring with a match elsewhere in the 
string (position 3). 
<DT>The code located in the <A HREF="sub_string_finder_extended.cpp">sub_string_finder_extended.cpp</A> file 
demonstrates offload programming for Intel&reg Many Integrated Core (Intel&reg MIC) Architecture (see <A HREF=../../index.html#build_4>build instructions</A>).
</DL>

<H2>Files</H2>
<DL>
<DT><A HREF="sub_string_finder.cpp">sub_string_finder.cpp</A>
<DD>The example as it appears in the Getting Started Guide.
<DT><A HREF="sub_string_finder_extended.cpp">sub_string_finder_extended.cpp</A>
<DD>An example similar to the one in the Getting Started Guide, but with an added sequential
    implementation, and with an offload region added that can be executed on Intel&reg MIC Architecture based coprocessor.
    The three implementations are timed, by using tick_count,
    and the speedup of the parallel version and 
    the speedup of the parallel version and, if applicable, the offload version is calculated and displayed.
<DT><A HREF="sub_string_finder_pretty.cpp">sub_string_finder_pretty.cpp</A>
<DD>An example similar to the one in the Getting Started Guide, but with more attractive printing of the results.
<DT><A HREF="Makefile">Makefile</A>
<DD>Makefile for building example.
</DL>

<H2>Directories</H2>
<DL>
<DT><A HREF="msvs">msvs</A>
<DD>Contains Microsoft* Visual Studio* 2010 workspace for building and running the example (Windows* systems only).
<DT><A HREF="xcode">xcode</A>
<DD>Contains Xcode* IDE workspace for building and running the example (OS X* systems only).
</DL>

<H2>To Build</H2>
General build directions can be found <A HREF=../../index.html#build>here</A>.

<H2>Usage</H2>
<DL>
<DT><TT>sub_string_finder</TT>
<DD>Runs the example as it appears in the Getting Started Guide.
<DT><TT>sub_string_finder_pretty</TT>
<DD>Runs the similar example with more attractive printing of the results.
<DT><TT>sub_string_finder_extended</TT>
<DD>Runs the example extended with a sequential implementation and an offload region that can be executed on Intel&reg MIC Architecture based coprocessor.
<DT>To run a short version of this example, e.g., for use with Intel&reg; Threading Tools:
<DD>Build a <I>debug</I> version of the <TT>sub_string_finder_pretty</TT> example
    (see the <A HREF=../../index.html#build>build directions</A>).
    <BR>Run it, e.g., <TT>sub_string_finder_pretty</TT>.
</DL>

<HR>
<A HREF="../index.html">Up to parent directory</A>
<p></p>
Copyright &copy; 2005-2015 Intel Corporation.  All Rights Reserved.
<P></P>
Intel is a registered trademark or trademark of Intel Corporation
or its subsidiaries in the United States and other countries.
<p></p>
* Other names and brands may be claimed as the property of others.
</BODY>
</HTML>