Forums - how to implement zero-copy on 801 gpu

1 post / 0 new
how to implement zero-copy on 801 gpu
Young.Share
Join Date: 27 Jul 17
Posts: 1
Posted: Thu, 2017-08-03 23:55
data_in = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR , ch*rows*cols*sizeof(unsigned char), image_in.data, &ret);
//rows=1080 cols=1920

why there code cost 28ms. 

cl_mem_use_host_ptr isn`t means shared host memory?

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.