summaryrefslogtreecommitdiff
path: root/www/OpenMP.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/OpenMP.html')
-rw-r--r--www/OpenMP.html38
1 files changed, 21 insertions, 17 deletions
diff --git a/www/OpenMP.html b/www/OpenMP.html
index 621fff9..30a6c8a 100644
--- a/www/OpenMP.html
+++ b/www/OpenMP.html
@@ -1,12 +1,14 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html lang="en">
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.16: http://docutils.sourceforge.net/" />
-<title>OpenMP in GraphicsMagick</title>
-<link rel="stylesheet" href="docutils-articles.css" type="text/css" />
+ <meta charset="utf-8">
+ <meta content="en" name="language">
+ <title>OpenMP in GraphicsMagick</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link media="screen" href="docutils-articles.css" type="text/css" rel="stylesheet">
+
</head>
+
<body>
<div class="banner">
@@ -19,6 +21,7 @@
</form>
</div>
+
<div class="navmenu">
<ul>
<li><a href="index.html">Home</a></li>
@@ -32,17 +35,17 @@
<li><a href="reference.html">Reference</a></li>
</ul>
</div>
+
<div class="document" id="openmp-in-graphicsmagick">
<h1 class="title">OpenMP in GraphicsMagick</h1>
-
<!-- -*- mode: rst -*- -->
<!-- This text is in reStucturedText format, so it may look a bit odd. -->
<!-- See http://docutils.sourceforge.net/rst.html for details. -->
<div class="contents local topic" id="contents">
<ul class="simple">
-<li><a class="reference internal" href="#overview" id="id1">Overview</a></li>
-<li><a class="reference internal" href="#limitations" id="id2">Limitations</a></li>
-<li><a class="reference internal" href="#openmp-variables" id="id3">OpenMP Variables</a></li>
+<li><p><a class="reference internal" href="#overview" id="id1">Overview</a></p></li>
+<li><p><a class="reference internal" href="#limitations" id="id2">Limitations</a></p></li>
+<li><p><a class="reference internal" href="#openmp-variables" id="id3">OpenMP Variables</a></p></li>
</ul>
</div>
<div class="section" id="overview">
@@ -112,14 +115,12 @@ example of per-core speed-up due to OpenMP on a four-core AMD Opteron
system (with Firefox and other desktop software still running). The
image is generated dynamically based on the 'granite' pattern and all
the pixel quantum values have 30% gaussian noise added:</p>
-<pre class="literal-block">
-% gm benchmark -stepthreads 1 -duration 10 convert \
+<pre class="literal-block">% gm benchmark -stepthreads 1 -duration 10 convert \
-size 2048x1080 pattern:granite -operator all Noise-Gaussian 30% null:
Results: 1 threads 5 iter 11.34s user 11.340000s total 0.441 iter/s 0.441 iter/cpu 1.00 speedup 1.000 karp-flatt
Results: 2 threads 9 iter 20.34s user 10.190000s total 0.883 iter/s 0.442 iter/cpu 2.00 speedup 0.000 karp-flatt
Results: 3 threads 14 iter 31.72s user 10.600000s total 1.321 iter/s 0.441 iter/cpu 3.00 speedup 0.001 karp-flatt
-Results: 4 threads 18 iter 40.84s user 10.460000s total 1.721 iter/s 0.441 iter/cpu 3.90 speedup 0.008 karp-flatt
-</pre>
+Results: 4 threads 18 iter 40.84s user 10.460000s total 1.721 iter/s 0.441 iter/cpu 3.90 speedup 0.008 karp-flatt</pre>
<p>Note that the &quot;iter/s cpu&quot; value is a measure of the number of
iterations given the amount of reported CPU time consumed. It is an
effective measure of relative efficacy since its value should ideally
@@ -195,14 +196,17 @@ variable may be used to specify the number of threads available to the
application. Typically this is set to the number of processor cores on
the system but may be set lower to limit resource consumption or (in
some cases) to improve execution efficiency. The GraphicsMagick
-commands also accept a <tt class="docutils literal"><span class="pre">-limit</span> threads limit</tt> type option for
+commands also accept a <span class="docutils literal"><span class="pre">-limit</span> threads limit</span> type option for
specifying the maximum number of threads to use.</p>
</div>
</div>
+
<hr class="docutils">
<div class="document">
- <p><a href="Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2022<!--SPONSOR_LOGO--></p>
+ <p><a href="Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2023<!--SPONSOR_LOGO--></p>
+</div>
+
</div>
</body>
</html>