Sha256: 23138286c23ee4349f24ad2751ee7e39d15329756ce62a58afdd3b88c38ceb8d

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

  
  // Create a device pointer for <array> (zero-copy)
  //cl_mem device_<array> = clCreateBuffer(bones_context,CL_MEM_READ_WRITE|CL_MEM_USE_HOST_PTR,<variable_dimensions>*sizeof(<type>),<array><flatten>,&bones_errors); error_check(bones_errors);
  
  // Create a device pointer for <array>
  cl_mem device_<array> = clCreateBuffer(bones_context,CL_MEM_READ_WRITE,<variable_dimensions>*sizeof(<type>),NULL,&bones_errors); error_check(bones_errors);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bones-compiler-1.6.0 skeletons/CPU-OPENCL-AMD/common/mem_prologue.c
bones-compiler-1.3.1 skeletons/CPU-OPENCL-AMD/common/mem_prologue.c
bones-compiler-1.1.0 skeletons/CPU-OPENCL-AMD/common/mem_prologue.c