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

SCM Repository

[diderot] Annotation of /branches/pure-cfg/TODO
ViewVC logotype

Annotation of /branches/pure-cfg/TODO

Parent Directory Parent Directory | Revision Log Revision Log


Revision 824 - (view) (download)

1 : glk 781 ========================
2 :     SHORT TERM ============= (for curvature-based VR)
3 :     ========================
4 :    
5 : glk 789 For RGB color output of 2D transfer function (indexed by
6 :     kappa1,kappa2), or for a 1D transfer function, will need
7 :     something akin to convolution on vector images
8 :    
9 : jhr 788 IL support for higher-order tensor values (matrices, etc).
10 : jhr 803 tensor construction [DONE]
11 :     tensor indexing [DONE]
12 :     tensor slicing
13 : jhr 788 verify that hessians work correctly
14 :    
15 : jhr 821 Outer products [DONE]
16 : jhr 763
17 : jhr 813 Add M dot v, v dot M, and M dot N [DONE]
18 : jhr 763
19 :     Identity matrix [DONE up to code generation]
20 :    
21 : jhr 822 Zero tensor [DONE up to code generation]
22 :    
23 : jhr 763 trace [DONE]
24 :    
25 : glk 785 extend norm (|exp|) to tensor[3,3]
26 : jhr 763
27 : jhr 824 extend implementation of scaling to work on higher-order tensors (it currently
28 :     just works on vectors)
29 :    
30 : jhr 788 Use ∇⊗ etc. syntax
31 : jhr 763 syntax [DONE]
32 :     typechecking
33 :     IL and codegen
34 :    
35 :     Add sequence types
36 :     syntax
37 :     types: ty '{' INT '}'
38 :     value construction: '{' e1 ',' … ',' en '}'
39 :     indexing: e '{' e '}'
40 :    
41 : jhr 784 Infix dot product and cross product [DONE]
42 : glk 781
43 : jhr 784 lerp on scalars and vectors [DONE]
44 :    
45 : jhr 824 Infix "^" operator for pow() [DONE]
46 :    
47 : glk 781 ==============================
48 : glk 785 other SHORT TERM ============= (including needed for LIC)
49 : glk 781 ==============================
50 :    
51 : glk 785 determinant ("det") for tensor[3,3]
52 :    
53 :     Decide if we want to allow redefinitions of variables
54 :     (as in vr-lite-cam.diderot)
55 :    
56 :     extend norm (|exp|) to all tensor types
57 :    
58 :     extend normalize to all tensor types
59 :    
60 : glk 781 vector fields: convolution on vector images
61 :    
62 : jhr 788 expand trace in mid to low translation
63 :    
64 :     value-numbering optimization
65 :    
66 :     Add type aliases for color types
67 :     rgb = real{3}
68 :     rgba = real{4}
69 :    
70 : glk 781 ==============================
71 :     MEDIUM TERM ================== (needed for streamlines & tractography)
72 :     ==============================
73 :    
74 :     ability to emit/track/record variables into dynamically re-sized
75 :     runtime buffer
76 :    
77 :     evals & evecs for symmetric tensor[3,3]
78 :    
79 :     tensor fields: convolution on general tensor images
80 :    
81 :     ==============================
82 :     other MEDIUM TERM ============ (needed for particles)
83 :     ==============================
84 :    
85 :     run-time birth and death of strands
86 :    
87 :     "initially" supports lists
88 :    
89 :     "initially" supports lists of positions output from
90 :     different initalization Diderot program
91 :    
92 :     spatial data structure that permits strands' queries of neighbors
93 :    
94 : jhr 784 proper handling of stabilize method
95 :    
96 : jhr 796 Add support for code like
97 :    
98 :     (F1 if x else F2)@pos
99 :    
100 :     This will require duplication of the continuation of the conditional (but we should only
101 :     duplicate over the live-range of the result of the conditional.
102 :    
103 : glk 781 ==============================
104 : jhr 797 other MEDIUM TERM ============
105 :     ==============================
106 :    
107 : jhr 824 want: warnings when D (and likely I) is declared as a
108 :     variable name (now get confusing error messages now)
109 : jhr 797
110 : jhr 824 support for Python interop and GUI
111 :    
112 : jhr 797 ==============================
113 : glk 781 LONG TERM ====================
114 :     ==============================
115 :    
116 : jhr 796 Better handling of variables that determines the scope of a variable based on its actual use,
117 :     instead of where the user defined it. So, for example, we should lift strand-invariant variables
118 :     to global scope. Also prune out useless variables, which should include field variables after the
119 :     translation to mid-il.
120 :    
121 : glk 781 co- vs contra- index distinction
122 :    
123 : glk 783 add ":" for tensor dot product (contracts out two indices
124 :     instead of one like •), valid for all pairs of tensors with
125 :     at least two indices
126 :    
127 : glk 781 some indication of tensor symmetry
128 :     (have to identify the group of index permutations that are symmetries)
129 :    
130 :     dot works on all tensors
131 :    
132 :     outer works on all tensors
133 :    
134 :     Einstein summation notation
135 :    
136 :     "tensor comprehension" (like list comprehension)
137 : jhr 784
138 : glk 818 Python/ctypes interface to run-timez
139 :    
140 : jhr 784 ======================
141 :     BUGS =================
142 :     ======================
143 :    
144 :     test/mip-cam.diderot:
145 :     // generated C code looks like "(float)p_ui_0--0.5e0f"
146 :     //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;
147 :    
148 :     test/vr-kcomp.diderot:
149 :     // HEY (scoping BUG): the strand parameters (e.g. ui, vi) ...
150 :    
151 :     test/zslice2.diderot:
152 :     // but is this not valid syntax for creating field in one shot?
153 :     //field#2(3)[] F = (load("../data/zimg112.nrrd")) ⊛ bspln3;
154 :     // It is valid syntax, but there is a bug in the conversion from HighIL to MidIL
155 :    
156 :     test/zslice2.diderot:
157 :     // HEY (bug) bspln5 leads to problems ...
158 :     // uncaught exception Size [size]
159 :     // raised at c-target/c-target.sml:47.15-47.19
160 :     //field#4(3)[] F = img ⊛ bspln5;
161 :    
162 :    

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