You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/11/17 08:58:23 UTC

[GitHub] [tvm] srkreddy1238 commented on pull request #13413: [RUNTIME][OPENCL] OpenCL host pointer support to acheive zero copy

srkreddy1238 commented on PR #13413:
URL: https://github.com/apache/tvm/pull/13413#issuecomment-1318300674

   In general OpenCL global memory and host accessible memory points to DDR (Common system wide physical memory). We get zero copy advantage only if DDR is shared between the two cores.
   
   Mapping multiple memory objects to a process address space won't cause any performance hit (unless there is writes from both sides on the mapped segment). In our case only the input mem object is written by host and others are untouched.
   
   Cmake compilation option is to avoid any unexpected behaviors due to custom hardware & driver implementations.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org