Sha256: 4ca46368d5fe0011f6999074d7f5d3a3082b542197bc9b0e76257923b2c1430b
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
// Create a device pointer for <array> #if ZEROCOPY == 1 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); #elif ZEROCOPY == 0 cl_mem device_<array> = clCreateBuffer(bones_context, CL_MEM_READ_WRITE, <variable_dimensions>*sizeof(<type>), NULL, &bones_errors); error_check(bones_errors); #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bones-compiler-1.6.0 | skeletons/CPU-OPENCL-INTEL/common/mem_prologue.c |
bones-compiler-1.3.1 | skeletons/CPU-OPENCL-INTEL/common/mem_prologue.c |