This video is part of the HIP workshop playlist. View full playlist here: • Advanced HIP Workshop
Pinned memory on the host can be used from a kernel. However, since host memory and device memory are in two different memory spaces, an allocation of pinned memory must first be mapped to the device memory space before passing it to a kernel. The function hipHostGetDevicePointer performs the mapping.
3 июл 2024