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

SCM Repository

[diderot] View of /branches/charisee_dev/Notes/bugs/bug0.diderot
ViewVC logotype

View of /branches/charisee_dev/Notes/bugs/bug0.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3374 - (download) (annotate)
Thu Nov 5 21:05:53 2015 UTC (3 years, 8 months ago) by cchiw
File size: 796 byte(s)
E.PowEmb
/*

Compiling with: diderot/branches/charisee/bin/diderotc badinit.diderot
gives:
HighIL-1: 96 nodes
HighIL-2: 81 nodes
MidIL-1: 81 nodes
MidIL-2: 81 nodes
LowIL-1: 81 nodes
LowIL-2: 81 nodes
badinit.c:38:20: error: array initializer must be an initializer list
    Diderot_real_t vec_0[3] = V_ConsVec4(0.1e1, 0.0, 0.0, 0);
                   ^
1 error generated.
uncaught exception Fail [Fail: error compiling/linking]
  raised at common/phase-timer.sml:76.50-76.52
  raised at common/phase-timer.sml:76.50-76.52
  raised at common/phase-timer.sml:76.50-76.52
  raised at c-util/run-cc.sml:28.17-28.47

*/

strand matx (int ii) {
  output real noop = 0.0;

  update {
    vec4 V = [1,0,0,5];
    print("V = ", V, "\n");
//print ("V[0];
    stabilize;
  }
}

initially [ matx(ii) | ii in 0..0 ];

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