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

SCM Repository

[diderot] Diff of /branches/vis12-cl/src/compiler/cl-target/fragments/c-run-nobsp.in
ViewVC logotype

Diff of /branches/vis12-cl/src/compiler/cl-target/fragments/c-run-nobsp.in

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

revision 3131, Wed Mar 25 14:38:28 2015 UTC revision 3132, Wed Mar 25 15:25:10 2015 UTC
# Line 19  Line 19 
19      globalWorkSize[0] = wrld->nWorkers * wrld->device->cuWidth;      globalWorkSize[0] = wrld->nWorkers * wrld->device->cuWidth;
20      localWorkSize[0] = wrld->device->cuWidth;      localWorkSize[0] = wrld->device->cuWidth;
21    
22        if (wrld->verboseFlg) {
23            fprintf (stderr, "enqueuing UpdateKern for %d x %d workers\n",
24                wrld->nWorkers, wrld->device->cuWidth);
25        }
26    
27      if (((sts = clSetKernelArg (wrld->UpdateKern, 0, sizeof(cl_mem), &(wrld->schedBuf))) != CL_SUCCESS)      if (((sts = clSetKernelArg (wrld->UpdateKern, 0, sizeof(cl_mem), &(wrld->schedBuf))) != CL_SUCCESS)
28      ||  ((sts = clSetKernelArg (wrld->UpdateKern, 1, sizeof(cl_mem), &(wrld->globalsBuf))) != CL_SUCCESS)      ||  ((sts = clSetKernelArg (wrld->UpdateKern, 1, sizeof(cl_mem), &(wrld->globalsBuf))) != CL_SUCCESS)
29      ||  ((sts = clSetKernelArg (wrld->UpdateKern, 2, sizeof(cl_int), &nSteps)) != CL_SUCCESS)      ||  ((sts = clSetKernelArg (wrld->UpdateKern, 2, sizeof(cl_int), &nSteps)) != CL_SUCCESS)

Legend:
Removed from v.3131  
changed lines
  Added in v.3132

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