From 4390c82121c2bfef05ee770973c0743444f3e17b 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 --- include/hip/hcc_detail/hip_runtime_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hip/hcc_detail/hip_runtime_api.h b/include/hip/hcc_detail/hip_runtime_api.h index 8b8bbe9e4f..cfecb144c3 100644 --- a/include/hip/hcc_detail/hip_runtime_api.h +++ b/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