Files
rocm-systems/docs/markdown/hip_deprecated_api_list.md
T

34 строки
1.1 KiB
Markdown
Исходник Обычный вид История

2018-06-30 11:42:17 +05:30
# HIP Deprecated APIs
2018-04-20 17:34:48 +05:30
2020-07-07 11:52:15 -04:00
## HIP Context Management APIs
2018-04-20 17:34:48 +05:30
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.
2018-06-30 11:40:32 +05:30
### hipCtxPopCurrent
### hipCtxPushCurrent
### hipCtxSetCurrent
### hipCtxGetCurrent
### hipCtxGetDevice
### hipCtxGetApiVersion
### hipCtxGetCacheConfig
### hipCtxSetCacheConfig
### hipCtxSetSharedMemConfig
### hipCtxGetSharedMemConfig
### hipCtxSynchronize
### hipCtxGetFlags
### hipCtxEnablePeerAccess
### hipCtxDisablePeerAccess
2020-07-07 11:52:15 -04:00
2020-07-27 11:26:42 -04:00
## HIP Memory Management APIs
2020-07-07 11:52:15 -04:00
### hipMallocHost
Should use "hipHostMalloc" instead.
### hipMemAllocHost
Should use "hipHostMalloc" instead.
### hipHostAlloc
Should use "hipHostMalloc" instead.
### hipFreeHost
Should use "hipHostFree" instead.