Merge pull request #544 from gargrahul/edit_hip_deprecated_apis_doc

Edit hip deprecated apis doc

[ROCm/hip commit: 890f241a67]
This commit is contained in:
Maneesh Gupta
2018-07-11 12:40:31 +05:30
committed by GitHub
commit 0ec14f3b43
@@ -1,22 +1,22 @@
# HIP Deprecated API List
# HIP Deprecated APIs
## HIP Context API
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
###hipCtxGetCurrent
###hipCtxGetDevice
###hipCtxGetApiVersion
###hipCtxGetCacheConfig
###hipCtxSetCacheConfig
###hipCtxSetSharedMemConfig
###hipCtxGetSharedMemConfig
###hipCtxSynchronize
###hipCtxGetFlags
###hipCtxEnablePeerAccess
###hipCtxDisablePeerAccess
### hipCtxCreate
### hipCtxDestroy
### hipCtxPopCurrent
### hipCtxPushCurrent
### hipCtxSetCurrent
### hipCtxGetCurrent
### hipCtxGetDevice
### hipCtxGetApiVersion
### hipCtxGetCacheConfig
### hipCtxSetCacheConfig
### hipCtxSetSharedMemConfig
### hipCtxGetSharedMemConfig
### hipCtxSynchronize
### hipCtxGetFlags
### hipCtxEnablePeerAccess
### hipCtxDisablePeerAccess