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-output-grid-fixed.in
ViewVC logotype

Diff of /branches/vis12-cl/src/compiler/cl-target/fragments/c-output-grid-fixed.in

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

revision 3134, Wed Mar 25 15:47:46 2015 UTC revision 3135, Wed Mar 25 18:31:23 2015 UTC
# Line 17  Line 17 
17      }      }
18    
19    // Allocate GPU buffer    // Allocate GPU buffer
20      cl_mem gpuData = clCreateBuffer (wrld->context, CL_MEM_WRITE_ONLY, totalSz, 0, &sts);      cl_mem gpuData = clCreateBuffer (wrld->context, CL_MEM_WRITE_ONLY|CL_MEM_HOST_READ_ONLY, totalSz, 0, &sts);
21      if (CheckOCLStatus (wrld, sts, "error allocating GPU memory for output")) {      if (CheckOCLStatus (wrld, sts, "error allocating GPU memory for output")) {
22          return true;          return true;
23      }      }

Legend:
Removed from v.3134  
changed lines
  Added in v.3135

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