Mark hipCtx APIs as deprecated

[ROCm/hip commit: a039dbf2dd]
Dieser Commit ist enthalten in:
Rahul Garg committed 2018-04-20 17:34:48 +05:30
1 Ursprung f117777f77
Commit 3b4875ba77
2 Dateien geändert
+41 -16

Keine Dateien entsprechen Ihrer Suche

@@ -0,0 +1,22 @@
# HIP Deprecated API List
## 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