반응형 clEnqueueWriteBuffer1 clCreateBuffer clEnqueueWriteBuffer clSetKernelArg clEnqueueReadBuffer http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clCreateBuffer.html cl_mem clCreateBuffer (cl_context context, cl_mem_flags flags, size_t size, void *host_ptr, cl_int *errcode_ret) flagsCL_MEM_READ_WRITECL_MEM_WRITE_ONLYCL_MEM_READ_ONLYCL_MEM_USE_HOST_PTRCL_MEM_ALLOC_HOST_PTRCL_MEM_COPY_HOST_PTR cl_mem clEnqueueWriteBuffer (cl_command_queue command_queue, cl_mem buffer, cl_bool blockin.. 2012. 9. 24. 이전 1 다음