HIP: Heterogenous-computing Interface for Portability
|
CUDA supports cuCtx API, the Driver API that defines "Context" and "Devices" as separate entities. Contexts contain a single device, and a device can theoretically have multiple contexts. HIP initially added limited support for these API to facilitate easy porting from existing driver codes. These API are marked as deprecated now since there are better alternate interface (such as hipSetDevice or the stream API) to achieve the required functions.
Should use "hipHostMalloc" instead.
Should use "hipHostMalloc" instead.
Should use "hipHostMalloc" instead.
Should use "hipHostFree" instead.