255 lines
10 KiB
HTML
255 lines
10 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_51) on Wed Apr 06 13:11:12 EDT 2016 -->
|
|
<title>edu.rit.gpu.example (Parallel Java 2 Library Documentation)</title>
|
|
<meta name="date" content="2016-04-06">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="edu.rit.gpu.example (Parallel Java 2 Library Documentation)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li class="navBarCell1Rev">Package</li>
|
|
<li>Class</li>
|
|
<li><a href="package-use.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../edu/rit/gpu/package-summary.html">Prev Package</a></li>
|
|
<li><a href="../../../../edu/rit/gpu/test/package-summary.html">Next Package</a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?edu/rit/gpu/example/package-summary.html" target="_top">Frames</a></li>
|
|
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<div class="header">
|
|
<h1 title="Package" class="title">Package edu.rit.gpu.example</h1>
|
|
<div class="docSummary">
|
|
<div class="block">Package edu.rit.gpu.example contains example programs
|
|
illustrating how to do GPU parallel programming
|
|
with the Parallel Java 2 Library.</div>
|
|
</div>
|
|
<p>See: <a href="#package_description">Description</a></p>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
|
|
<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Interface</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/KnapsackProblem.html" title="interface in edu.rit.gpu.example">KnapsackProblem</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Interface KnapsackProblem is the interface for an object that defines a
|
|
knapsack problem.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList">
|
|
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
|
|
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Class</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/KnapsackBnbGpu.html" title="class in edu.rit.gpu.example">KnapsackBnbGpu</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class KnapsackBnbGpu is a GPU parallel program that solves a knapsack problem
|
|
using a branch-and-bound search.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/KnapsackExhGpu.html" title="class in edu.rit.gpu.example">KnapsackExhGpu</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class KnapsackExhGpu is a GPU parallel program that solves a knapsack problem
|
|
using an exhaustive search.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/KnapsackSC.html" title="class in edu.rit.gpu.example">KnapsackSC</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class KnapsackSC provides an object that defines a <I>strongly correlated</I>
|
|
knapsack problem.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/OuterProductGpu.html" title="class in edu.rit.gpu.example">OuterProductGpu</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class OuterProductGpu is a GPU parallel program that calculates the outer
|
|
product matrix of two vectors.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/OuterProductSeq.html" title="class in edu.rit.gpu.example">OuterProductSeq</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class OuterProductSeq is a sequential program that calculates the outer
|
|
product matrix of two vectors.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/PiGpu.html" title="class in edu.rit.gpu.example">PiGpu</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class PiGpu is a GPU parallel that calculates an approximate value for
|
|
π using a Monte Carlo technique.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/PiGpu2.html" title="class in edu.rit.gpu.example">PiGpu2</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class PiGpu2 is a GPU parallel program that calculates an approximate value
|
|
for π using a Monte Carlo technique.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/Powers.html" title="class in edu.rit.gpu.example">Powers</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class Powers is a GPU parallel program that calculates the square root, cube
|
|
root, square, and cube of the numbers from 1 to <I>N</I>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/Prng.html" title="class in edu.rit.gpu.example">Prng</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class Prng provides a pseudorandom number generator (PRNG).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/WalkSackGpu.html" title="class in edu.rit.gpu.example">WalkSackGpu</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class WalkSackGpu is a GPU parallel program that solves a knapsack problem
|
|
using a random walk.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/WV.html" title="class in edu.rit.gpu.example">WV</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class WV encapsulates the weight and value of an item in a knapsack problem.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/ZombieGpu.html" title="class in edu.rit.gpu.example">ZombieGpu</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class ZombieGpu is a GPU parallel program to compute the motion of a group of
|
|
zombies.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="../../../../edu/rit/gpu/example/ZombieGpu2.html" title="class in edu.rit.gpu.example">ZombieGpu2</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Class ZombieGpu2 is a GPU parallel program to compute the motion of a group
|
|
of zombies.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<a name="package_description">
|
|
<!-- -->
|
|
</a>
|
|
<h2 title="Package edu.rit.gpu.example Description">Package edu.rit.gpu.example Description</h2>
|
|
<div class="block">Package edu.rit.gpu.example contains example programs
|
|
illustrating how to do GPU parallel programming
|
|
with the Parallel Java 2 Library.
|
|
To compile the CUDA modules,
|
|
change into the source directory
|
|
and run the <TT>ccompile</TT> shell script.
|
|
You might need to modify the shell script for your system.</div>
|
|
</div>
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li class="navBarCell1Rev">Package</li>
|
|
<li>Class</li>
|
|
<li><a href="package-use.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../edu/rit/gpu/package-summary.html">Prev Package</a></li>
|
|
<li><a href="../../../../edu/rit/gpu/test/package-summary.html">Next Package</a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?edu/rit/gpu/example/package-summary.html" target="_top">Frames</a></li>
|
|
<li><a href="package-summary.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><FONT SIZE="-2">Copyright © 2013–2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">@</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
|
|
</body>
|
|
</html>
|