Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /web/htdocs/index.html
ViewVC logotype

Diff of /web/htdocs/index.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1232, Mon May 16 23:37:52 2011 UTC revision 1233, Tue May 17 15:50:45 2011 UTC
# Line 127  Line 127 
127      <span class="code-kw">update</span> {      <span class="code-kw">update</span> {
128          pos = pos + stepSz*dir;          pos = pos + stepSz*dir;
129          <span class="code-kw">if</span> (inside (pos,F)) {          <span class="code-kw">if</span> (inside (pos,F)) {
130              <span class="code-type">real</span> val = F@pos;              <span class="code-type">real</span> val = F(pos);
131              <span class="code-type">vec3</span> grad = ∇F@pos;              <span class="code-type">vec3</span> grad = ∇F(pos);
132              <span class="code-type">vec3</span> norm = -grad / |grad|;              <span class="code-type">vec3</span> norm = -grad / |grad|;
133              <span class="code-kw">if</span> (val > valOpacMin) {  <span class="code-comment">// we have some opacity </span>              <span class="code-kw">if</span> (val > valOpacMin) {  <span class="code-comment">// we have some opacity </span>
134                  <span class="code-type">real</span> opac =                  <span class="code-type">real</span> opac =
# Line 161  Line 161 
161  <h3>Status</h3>  <h3>Status</h3>
162  <p>  <p>
163  We have a prototype language design that can handle simple examples, such as volume  We have a prototype language design that can handle simple examples, such as volume
164  rendering, and we are working on a baseline compiler for the design.  rendering, and a compiler that currently generates C99 code with GCC vector extensions.
165  This compiler will generate CUDA or OpenCL code for running on GPUs.  Our runtime supports both single processor and multiprocessor execution.
166    We are working on an OpenCL backend and plan to also support CUDA.
167  </p>  </p>
168    
169  <h3>Further information</h3>  <h3>Further information</h3>
# Line 183  Line 184 
184  </p>  </p>
185    
186  <hr />  <hr />
187  Last modified: December 10, 2010.  Last modified: May 17, 2011.
188  <hr />  <hr />
189    
190  </body>  </body>

Legend:
Removed from v.1232  
changed lines
  Added in v.1233

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0