Removed deprecated hipHostAlloc

Change-Id: Ia592a3545c5d72f37e049ce29f910e404323c01c
Tá an tiomantas seo le fáil i:
Rahul Garg
2016-09-26 10:58:46 +05:30
tuismitheoir f5b463702e
tiomantas c313836013
D'athraigh 5 comhad le 7 breiseanna agus 15 scriosta
+4 -5
Féach ar an gComhad
@@ -793,18 +793,17 @@ hipError_t hipMalloc(void** ptr, size_t size) ;
* @see hipSetDeviceFlags, hipHostFree
*/
hipError_t hipHostMalloc(void** ptr, size_t size, unsigned int flags) ;
hipError_t hipHostAlloc(void** ptr, size_t size, unsigned int flags) __attribute__((deprecated("use hipHostMalloc instead"))) ;;
/**
* @brief Get Device pointer from Host Pointer allocated through hipHostAlloc
* @brief Get Device pointer from Host Pointer allocated through hipHostMalloc
*
* @param[out] dstPtr Device Pointer mapped to passed host pointer
* @param[in] hstPtr Host Pointer allocated through hipHostAlloc
* @param[in] hstPtr Host Pointer allocated through hipHostMalloc
* @param[in] flags Flags to be passed for extension
*
* @return #hipSuccess, #hipErrorInvalidValue, #hipErrorMemoryAllocation
*
* @see hipSetDeviceFlags, hipHostAlloc
* @see hipSetDeviceFlags, hipHostMalloc
*/
hipError_t hipHostGetDevicePointer(void** devPtr, void* hstPtr, unsigned int flags) ;
@@ -815,7 +814,7 @@ hipError_t hipHostGetDevicePointer(void** devPtr, void* hstPtr, unsigned int fla
* @param[in] hostPtr Host Pointer allocated through hipHostMalloc
* @return #hipSuccess, #hipErrorInvalidValue
*
* @see hipHostAlloc
* @see hipHostMalloc
*/
hipError_t hipHostGetFlags(unsigned int* flagsPtr, void* hostPtr) ;