SWDEV-242207-Update deprecated APIs

Change-Id: Icb64227be0eb44497de99240c0044a162ff3c085


[ROCm/hip commit: 5f5486d4b1]
Cette révision appartient à :
jujiang a créé et Julia Jiang a révisé 2020-07-30 15:15:41 -04:00
1 Parent 51829c1d34
révision 9fee96f2ed
1 fichier modifié
+1 -3
+1 -3
Voir le fichier
@@ -4,8 +4,6 @@
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.
### hipCtxCreate
### hipCtxDestroy
### hipCtxPopCurrent
### hipCtxPushCurrent
### hipCtxSetCurrent
@@ -21,7 +19,7 @@ CUDA supports cuCtx API, the Driver API that defines "Context" and "Devices" as
### hipCtxEnablePeerAccess
### hipCtxDisablePeerAccess
## HIP Management APIs
## HIP Memory Management APIs
### hipMallocHost
Should use "hipHostMalloc" instead.