1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <meta content="text/html; charset=UTF-8" http-equiv="content-type">
5 <title>GPU-based Median and convolution kernel generator</title>
6 <meta content="G. Perrot" name="author">
7 <link href="file:///home/zulu/Documents/these_gilles/femto.css" rel="stylesheet"
12 <h1><img alt="" src="file:///home/zulu/Documents/these_gilles/logo-femto.png"></h1>
15 <h1>Median and generic convolution GPU kernel generator</h1>
17 <div id="introText"> The following form will allow you to set up the GPU
18 kernel you want, then the <b>proceed</b> button will launch the kernel
20 You will next be redirected to the download page where you will be able to
21 get the resulting source files :
25 <li><b>kernel_xxxx.cu</b> featuring the actual requested kernel as well
26 as texture and constant memory declarations. </li>
27 <li><b>main.cu</b> file as a simplistic but working example of how to
28 use the generated kernel. </li>
29 <li><b>Makefile</b> file adapted from the generic Makefile supplied by
33 <form name="formKern" action="convoGen.php" method="GET">
34 <h2>1. Choose the kernel type : <input name="kernType" value="median" checked="checked"
35 type="radio"> median <input name="kernType" value="convolution" type="radio">
37 <h2>2. Edge length of the window mask : <input id="LMask" name="LMask" size="2"
38 value="3" type="text"> pixels </h2>
39 For example, enter 3 in the above field for a 3x3 pixels window mask.
40 <h2>3. Number of pixels processed by each thread :
41 <select id="ppt" name="ppt">
42 <option value="1">1</option>
43 <option value="2" selected="selected">2</option>
44 <option value="4">4</option>
45 <option value="8">8</option>
48 This option allows to increase the instruction parallelism level (ILP).<br>
49 For median kernels, the value must be 1 or 2 for performance reasons. For
50 convolutions, it can be set to 1, 2, 4, or 8
51 <h2>4. Name of the texture reference : <input id="texRef" name="texRef" value="tex_img_in"
52 size="20" type="text"> </h2>
53 This texture is binded to the array where the input image is stored in GPU
55 This reference is used by GPU kernels to fetch data from texture memory.<br>
57 <input value="Proceed" type="submit"> </form>