From da5df1fd1e936d028fd32b953411205b687e4e09 Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Sun, 4 Nov 2018 11:47:17 +0100 Subject: [PATCH] Document return values of hipMemcpyToSymbol, hipGetSymbolAddress [ROCm/hip commit: 4390c82121c2bfef05ee770973c0743444f3e17b] --- projects/hip/include/hip/hcc_detail/hip_runtime_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/hcc_detail/hip_runtime_api.h b/projects/hip/include/hip/hcc_detail/hip_runtime_api.h index 8b8bbe9e4f..cfecb144c3 100644 --- a/projects/hip/include/hip/hcc_detail/hip_runtime_api.h +++ b/projects/hip/include/hip/hcc_detail/hip_runtime_api.h @@ -1390,7 +1390,7 @@ hipError_t hipMemcpyToSymbol(const void* symbolName, const void* src, size_t siz * * @param[in] symbolName - Symbol on device * @param[out] devPtr - Pointer to a pointer to the memory referred to by the symbol - * @return #... + * @return #hipSuccess, #hipErrorNotInitialized, #hipErrorNotFound * * @see hipGetSymbolSize, hipMemcpyToSymbol, hipMemcpyFromSymbol, hipMemcpyToSymbolAsync, * hipMemcpyFromSymbolAsync @@ -1403,7 +1403,7 @@ hipError_t hipGetSymbolAddress(void** devPtr, const void* symbolName); * * @param[in] symbolName - Symbol on device * @param[out] size - Pointer to the size of the symbol - * @return #... + * @return #hipSuccess, #hipErrorNotInitialized, #hipErrorNotFound * * @see hipGetSymbolSize, hipMemcpyToSymbol, hipMemcpyFromSymbol, hipMemcpyToSymbolAsync, * hipMemcpyFromSymbolAsync