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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/lib/cl-target/main.c
ViewVC logotype

Diff of /branches/pure-cfg/src/lib/cl-target/main.c

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

revision 1322, Sun Jun 12 17:13:33 2011 UTC revision 1323, Sun Jun 12 17:27:05 2011 UTC
# Line 117  Line 117 
117                  size_t global_work_size[2], local_work_size[2];                  size_t global_work_size[2], local_work_size[2];
118          global_work_size[0] = wrld->size[0];          global_work_size[0] = wrld->size[0];
119          global_work_size[1] = wrld->size[1];          global_work_size[1] = wrld->size[1];
120          local_work_size[0] = 16;          local_work_size[0] = 1;
121          local_work_size[1] = 16;          local_work_size[1] = 1;
122    
123          cl_int width = global_work_size[1];          cl_int width = global_work_size[1];
124    
# Line 137  Line 137 
137    
138    
139                  if (sts != CL_SUCCESS) {                  if (sts != CL_SUCCESS) {
140                          fprintf (stderr, "error in executing kernel\n");                          fprintf (stderr, "error in executing kernel code:%d\n",sts);
141                          exit(1);                          exit(1);
142          }          }
143    
# Line 147  Line 147 
147                  NULL, NULL);                  NULL, NULL);
148    
149                  if (sts != CL_SUCCESS) {                  if (sts != CL_SUCCESS) {
150                          fprintf (stderr, "error in reading back output\n");                          fprintf (stderr, "error in reading back output code:%d\n",sts);
151                          exit(1);                          exit(1);
152          }          }
153          }          }

Legend:
Removed from v.1322  
changed lines
  Added in v.1323

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