From dab9ae32b2350f5414b176dd8862cb1ca2f9fd63 Mon Sep 17 00:00:00 2001 From: Saleel Kudchadker Date: Fri, 8 Jan 2021 13:26:43 -0800 Subject: [PATCH] Update documentation for hipEventCreateWithFlags Change-Id: I2658bd95df0d3a802cce4ffcb8dfd40e7055b0f7 --- hipamd/include/hip/amd_detail/hip_runtime_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hipamd/include/hip/amd_detail/hip_runtime_api.h b/hipamd/include/hip/amd_detail/hip_runtime_api.h index e179a667c1..498d4f583e 100644 --- a/hipamd/include/hip/amd_detail/hip_runtime_api.h +++ b/hipamd/include/hip/amd_detail/hip_runtime_api.h @@ -1242,7 +1242,8 @@ hipError_t hipStreamAddCallback(hipStream_t stream, hipStreamCallback_t callback * #hipEventBlockingSync : The event will use blocking synchronization : if hipEventSynchronize is called on this event, the thread will block until the event completes. This can increase latency for the synchroniation but can result in lower power and more resources for other CPU threads. - * #hipEventDisableTiming : Disable recording of timing information. + * #hipEventDisableTiming : Disable recording of timing information. Events created with this flag + would not record profiling data and provide best performance if used for synchronization. * @warning On AMD platform, hipEventInterprocess support is under development. Use of this flag will return an error.