SWDEV-242207-Update deprecated APIs

Change-Id: I0c1c7f33f75232b210495241d0e5e7e6b90d45f0


[ROCm/hip commit: ba2cd19726]
이 커밋은 다음에 포함됨:
jujiang 작성하고 Rahul Garg가 2020-07-08 15:23:52 -04:00를 커밋함
1 부모 cdb345a3f9
커밋 7807e435bd
1 파일이 변경됨
+15 -1
+15 -1
파일 보기
@@ -1,6 +1,6 @@
# HIP Deprecated APIs # HIP Deprecated APIs
## HIP Context API ## HIP Context Management APIs
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. 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.
@@ -20,3 +20,17 @@ CUDA supports cuCtx API, the Driver API that defines "Context" and "Devices" as
### hipCtxGetFlags ### hipCtxGetFlags
### hipCtxEnablePeerAccess ### hipCtxEnablePeerAccess
### hipCtxDisablePeerAccess ### hipCtxDisablePeerAccess
## HIP Management APIs
### hipMallocHost
Should use "hipHostMalloc" instead.
### hipMemAllocHost
Should use "hipHostMalloc" instead.
### hipHostAlloc
Should use "hipHostMalloc" instead.
### hipFreeHost
Should use "hipHostFree" instead.