From 32b53b2b13798d307a90ab632835c367503cc0e7 Mon Sep 17 00:00:00 2001 From: gilbertlee-amd <44450918+gilbertlee-amd@users.noreply.github.com> Date: Wed, 18 Aug 2021 22:57:20 -0600 Subject: [PATCH] Clarifying that hipExtLaunch timing does not include cache flush time (#2308) --- include/hip/hip_ext.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hip/hip_ext.h b/include/hip/hip_ext.h index 4d8386ebb7..e6429a9512 100644 --- a/include/hip/hip_ext.h +++ b/include/hip/hip_ext.h @@ -59,6 +59,8 @@ THE SOFTWARE. * @warning kernellParams argument is not yet implemented in HIP. Please use extra instead. Please refer to hip_porting_driver_api.md for sample usage. * HIP/ROCm actually updates the start event when the associated kernel completes. + * Currently, timing between startEvent and stopEvent does not include the time it takes to perform + * a system scope release / cache flush - only the time it takes to issues writes to cache. */ HIP_PUBLIC_API hipError_t hipExtModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,