Search:

Type: Posts; User: tianzhi.yang

Search: Search took 0.00 seconds.

  1. Re: Using CL_MEM_USE_HOST_PTR with clEnqueueReadBuffer

    All right, thank you for the reply.
  2. Using CL_MEM_USE_HOST_PTR with clEnqueueReadBuffer

    Suppose I first create a buffer using CL_MEM_USE_HOST_PTR:

    mybuffer = clCreateBuffer(context, CL_MEM_READ_WRITE| CL_MEM_USE_HOST_PTR, sizeof(float)*n,myvec,&err);

    where myvec is a float...
Results 1 to 2 of 2