diff --git a/modules/dnn/src/cuda4dnn/csl/memory.hpp b/modules/dnn/src/cuda4dnn/csl/memory.hpp index 683ed62059..5477716f37 100644 --- a/modules/dnn/src/cuda4dnn/csl/memory.hpp +++ b/modules/dnn/src/cuda4dnn/csl/memory.hpp @@ -178,8 +178,8 @@ namespace cv { namespace dnn { namespace cuda4dnn { namespace csl { /** sets device memory block to a specific 8-bit value * - * \param[in] src device pointer - * \param[out] ch 8-bit value to fill the device memory with + * \param[out] dest device pointer + * \param[in] ch 8-bit value to fill the device memory with * * Exception Guarantee: Basic */ @@ -243,8 +243,8 @@ namespace cv { namespace dnn { namespace cuda4dnn { namespace csl { /** sets device memory block to a specific 8-bit value asynchronously * - * \param[in] src device pointer - * \param[out] ch 8-bit value to fill the device memory with + * \param[out] dest device pointer + * \param[in] ch 8-bit value to fill the device memory with * \param stream CUDA stream that has to be used for the memory operation * * Exception Guarantee: Basic diff --git a/modules/dnn/src/cuda4dnn/csl/pointer.hpp b/modules/dnn/src/cuda4dnn/csl/pointer.hpp index 4d7a232093..b2275dc8db 100644 --- a/modules/dnn/src/cuda4dnn/csl/pointer.hpp +++ b/modules/dnn/src/cuda4dnn/csl/pointer.hpp @@ -307,8 +307,8 @@ namespace cv { namespace dnn { namespace cuda4dnn { namespace csl { /** sets \p n elements to \p ch in \p dest * - * \param[in] src device pointer - * \param[out] ch 8-bit value to fill the device memory with + * \param[out] dest device pointer + * \param[in] ch 8-bit value to fill the device memory with * * Pre-conditions: * - memory pointed by \p dest must be large enough to hold \p n elements @@ -388,8 +388,8 @@ namespace cv { namespace dnn { namespace cuda4dnn { namespace csl { /** sets \p n elements to \p ch in \p dest asynchronously * - * \param[in] src device pointer - * \param[out] ch 8-bit value to fill the device memory with + * \param[out] dest device pointer + * \param[in] ch 8-bit value to fill the device memory with * \param stream CUDA stream that has to be used for the memory operation * * Pre-conditions: