Get real, active and permanent YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Advanced HIP Workshop | Memory Management in HIP | Using pinned memory in a kernel

Follow
Pawsey Supercomputing Research Centre

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.

posted by FiennyFubdj