1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Performance</title> 5<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../index.html" title="Chapter 1. Boost.Compute"> 8<link rel="up" href="../index.html" title="Chapter 1. Boost.Compute"> 9<link rel="prev" href="../boost/compute/wait_list.html" title="Class wait_list"> 10<link rel="next" href="faq.html" title="Frequently Asked Questions"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="../boost/compute/wait_list.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="faq.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h2 class="title" style="clear: both"> 27<a name="boost_compute.performance"></a><a class="link" href="performance.html" title="Performance">Performance</a> 28</h2></div></div></div> 29<p> 30 The following tests were run with an NVIDIA Tesla K40c GPU on a system with 31 an Intel Core i7 920 2.67GHz CPU. 32 </p> 33<p> 34 Source code for the benchmarks can be found under the <a href="https://github.com/boostorg/compute/tree/master/perf" target="_top">perf</a> 35 directory. All benchmarks were compiled with optimizations enabled (i.e. "gcc 36 -O3"). 37 </p> 38<h4> 39<a name="boost_compute.performance.h0"></a> 40 <span class="phrase"><a name="boost_compute.performance.accumulate"></a></span><a class="link" href="performance.html#boost_compute.performance.accumulate">Accumulate</a> 41 </h4> 42<p> 43 <span class="inlinemediaobject"><img src="../images/perf/accumulate_time_plot.png" align="middle" width="850" alt="accumulate_time_plot"></span> 44 </p> 45<h4> 46<a name="boost_compute.performance.h1"></a> 47 <span class="phrase"><a name="boost_compute.performance.count"></a></span><a class="link" href="performance.html#boost_compute.performance.count">Count</a> 48 </h4> 49<p> 50 <span class="inlinemediaobject"><img src="../images/perf/count_time_plot.png" align="middle" width="850" alt="count_time_plot"></span> 51 </p> 52<h4> 53<a name="boost_compute.performance.h2"></a> 54 <span class="phrase"><a name="boost_compute.performance.inner_product"></a></span><a class="link" href="performance.html#boost_compute.performance.inner_product">Inner 55 Product</a> 56 </h4> 57<p> 58 <span class="inlinemediaobject"><img src="../images/perf/inner_product_time_plot.png" align="middle" width="850" alt="inner_product_time_plot"></span> 59 </p> 60<h4> 61<a name="boost_compute.performance.h3"></a> 62 <span class="phrase"><a name="boost_compute.performance.merge"></a></span><a class="link" href="performance.html#boost_compute.performance.merge">Merge</a> 63 </h4> 64<p> 65 <span class="inlinemediaobject"><img src="../images/perf/merge_time_plot.png" align="middle" width="850" alt="merge_time_plot"></span> 66 </p> 67<h4> 68<a name="boost_compute.performance.h4"></a> 69 <span class="phrase"><a name="boost_compute.performance.partial_sum"></a></span><a class="link" href="performance.html#boost_compute.performance.partial_sum">Partial 70 Sum</a> 71 </h4> 72<p> 73 <span class="inlinemediaobject"><img src="../images/perf/partial_sum_time_plot.png" align="middle" width="850" alt="partial_sum_time_plot"></span> 74 </p> 75<h4> 76<a name="boost_compute.performance.h5"></a> 77 <span class="phrase"><a name="boost_compute.performance.partition"></a></span><a class="link" href="performance.html#boost_compute.performance.partition">Partition</a> 78 </h4> 79<p> 80 <span class="inlinemediaobject"><img src="../images/perf/partition_time_plot.png" align="middle" width="850" alt="partition_time_plot"></span> 81 </p> 82<h4> 83<a name="boost_compute.performance.h6"></a> 84 <span class="phrase"><a name="boost_compute.performance.reverse"></a></span><a class="link" href="performance.html#boost_compute.performance.reverse">Reverse</a> 85 </h4> 86<p> 87 <span class="inlinemediaobject"><img src="../images/perf/reverse_time_plot.png" align="middle" width="850" alt="reverse_time_plot"></span> 88 </p> 89<h4> 90<a name="boost_compute.performance.h7"></a> 91 <span class="phrase"><a name="boost_compute.performance.rotate"></a></span><a class="link" href="performance.html#boost_compute.performance.rotate">Rotate</a> 92 </h4> 93<p> 94 <span class="inlinemediaobject"><img src="../images/perf/rotate_time_plot.png" align="middle" width="850" alt="rotate_time_plot"></span> 95 </p> 96<h4> 97<a name="boost_compute.performance.h8"></a> 98 <span class="phrase"><a name="boost_compute.performance.set_difference"></a></span><a class="link" href="performance.html#boost_compute.performance.set_difference">Set 99 Difference</a> 100 </h4> 101<p> 102 <span class="inlinemediaobject"><img src="../images/perf/set_difference_time_plot.png" align="middle" width="850" alt="set_difference_time_plot"></span> 103 </p> 104<h4> 105<a name="boost_compute.performance.h9"></a> 106 <span class="phrase"><a name="boost_compute.performance.sort"></a></span><a class="link" href="performance.html#boost_compute.performance.sort">Sort</a> 107 </h4> 108<p> 109 <span class="inlinemediaobject"><img src="../images/perf/sort_time_plot.png" align="middle" width="850" alt="sort_time_plot"></span> 110 </p> 111<h4> 112<a name="boost_compute.performance.h10"></a> 113 <span class="phrase"><a name="boost_compute.performance.transform"></a></span><a class="link" href="performance.html#boost_compute.performance.transform">Transform</a> 114 </h4> 115<p> 116 <span class="inlinemediaobject"><img src="../images/perf/saxpy_time_plot.png" align="middle" width="850" alt="saxpy_time_plot"></span> 117 </p> 118<h4> 119<a name="boost_compute.performance.h11"></a> 120 <span class="phrase"><a name="boost_compute.performance.unique"></a></span><a class="link" href="performance.html#boost_compute.performance.unique">Unique</a> 121 </h4> 122<p> 123 <span class="inlinemediaobject"><img src="../images/perf/unique_time_plot.png" align="middle" width="850" alt="unique_time_plot"></span> 124 </p> 125</div> 126<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 127<td align="left"></td> 128<td align="right"><div class="copyright-footer">Copyright © 2013, 2014 Kyle Lutz<p> 129 Distributed under the Boost Software License, Version 1.0. (See accompanying 130 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 131 </p> 132</div></td> 133</tr></table> 134<hr> 135<div class="spirit-nav"> 136<a accesskey="p" href="../boost/compute/wait_list.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="faq.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> 137</div> 138</body> 139</html> 140