Replies: 3 comments 1 reply
-
A clue from Level Zero spec on "zeMemAllocHost":
|
Beta Was this translation helpful? Give feedback.
-
@zjin-lcf Just to confirm if SYCL supports allocating pinned host memory, since sometimes it brings much benefit when doing memcpy like CUDA docs say: https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#page-locked-host-memory |
Beta Was this translation helpful? Give feedback.
-
Ok. You may write a SYCL program to confirm my answer using the example in https://developer.nvidia.com/blog/how-optimize-data-transfers-cuda-cc/. That program will be great. |
Beta Was this translation helpful? Give feedback.
-
I notice that there is an extension for sycl buffer "Use Pinned Host Memory Property", but how about USM host allocator, will
sycl::aligned_alloc_host
allocate pinned host momery?Beta Was this translation helpful? Give feedback.
All reactions