From 4e71301381bb9fee385131f3e7dffc9051d2dc55 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Sat, 7 Jan 2023 01:29:31 +0530 Subject: [PATCH] SWDEV-374402 - Fix hipExtLaunchKernel documentation (#3126) Change-Id: I90ad2a3a9a7d940f6853f976b329ee0eb5a161b8 [ROCm/hip commit: a95b8c94dff891e5895e7e91342b54b64d185870] --- projects/hip/include/hip/hip_ext.h | 2 +- projects/hip/include/hip/hip_runtime_api.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/hip_ext.h b/projects/hip/include/hip/hip_ext.h index 5925220fbb..e129e6fd19 100644 --- a/projects/hip/include/hip/hip_ext.h +++ b/projects/hip/include/hip/hip_ext.h @@ -99,11 +99,11 @@ hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX, * @param [in] sharedMemBytes Amount of dynamic shared memory to allocate for this kernel. * HIP-Clang compiler provides support for extern shared declarations. * @param [in] stream Stream where the kernel should be dispatched. + * May be 0, in which case the default stream is used with associated synchronization rules. * @param [in] startEvent If non-null, specified event will be updated to track the start time of * the kernel launch. The event must be created before calling this API. * @param [in] stopEvent If non-null, specified event will be updated to track the stop time of * the kernel launch. The event must be created before calling this API. - * May be 0, in which case the default stream is used with associated synchronization rules. * @param [in] flags. The value of hipExtAnyOrderLaunch, signifies if kernel can be * launched in any order. * @returns hipSuccess, hipInvalidDevice, hipErrorNotInitialized, hipErrorInvalidValue. diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index 7a5ff88036..fd393159f5 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -5071,11 +5071,11 @@ hipError_t hipDrvMemcpy2DUnaligned(const hip_Memcpy2D* pCopy); * @param [in] sharedMemBytes Amount of dynamic shared memory to allocate for this kernel. * HIP-Clang compiler provides support for extern shared declarations. * @param [in] stream Stream where the kernel should be dispatched. + * May be 0, in which case the default stream is used with associated synchronization rules. * @param [in] startEvent If non-null, specified event will be updated to track the start time of * the kernel launch. The event must be created before calling this API. * @param [in] stopEvent If non-null, specified event will be updated to track the stop time of * the kernel launch. The event must be created before calling this API. - * May be 0, in which case the default stream is used with associated synchronization rules. * @param [in] flags. The value of hipExtAnyOrderLaunch, signifies if kernel can be * launched in any order. * @returns hipSuccess, hipInvalidDevice, hipErrorNotInitialized, hipErrorInvalidValue.