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 822 - (view) (download)

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

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