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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/cl-target/tree-to-cl.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/cl-target/tree-to-cl.sml

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

revision 2105, Fri Dec 7 13:24:25 2012 UTC revision 2106, Fri Dec 7 13:24:36 2012 UTC
# Line 211  Line 211 
211                  CL.mkApply(RN.toImageSpace(ImageInfo.dim info), [CL.mkUnOp(CL.%&,img), pos])                  CL.mkApply(RN.toImageSpace(ImageInfo.dim info), [CL.mkUnOp(CL.%&,img), pos])
212              | (Op.TensorToWorldSpace(info, ty), [v, x]) =>              | (Op.TensorToWorldSpace(info, ty), [v, x]) =>
213                  CL.mkApply(RN.toWorldSpace ty, [CL.mkUnOp(CL.%&,v), x])                  CL.mkApply(RN.toWorldSpace ty, [CL.mkUnOp(CL.%&,v), x])
 (* DEPRECATED  
             | (Op.LoadImage info, [a]) =>  
                 raise Fail("impossible " ^ Op.toString rator)  
 *)  
214              | (Op.Inside(info, s), [pos, img]) =>              | (Op.Inside(info, s), [pos, img]) =>
215                  CL.mkApply(RN.inside(ImageInfo.dim info), [pos, CL.mkUnOp(CL.%&,img), intExp s])                  CL.mkApply(RN.inside(ImageInfo.dim info), [pos, CL.mkUnOp(CL.%&,img), intExp s])
216              | (Op.Input _, []) => raise Fail("impossible " ^ Op.toString rator)              | (Op.Input _, []) => raise Fail("impossible " ^ Op.toString rator)

Legend:
Removed from v.2105  
changed lines
  Added in v.2106

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