From 2f7e9591be768f20208995d73a2b4cb8638a859c Mon Sep 17 00:00:00 2001 From: "systems-assistant[bot]" <221163467+systems-assistant[bot]@users.noreply.github.com> Date: Sat, 13 Sep 2025 10:33:00 -0700 Subject: [PATCH] SWDEV-541096 - add hipEventWaitDefault and hipEventWaitExternal (#453) Co-authored-by: Li, Todd tiantuo --- .../hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h index 7ee07fd7bc..8cebb11511 100644 --- a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h +++ b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h @@ -372,6 +372,10 @@ typedef enum cudaResourceViewFormat hipResourceViewFormat; #define hipEventRecordDefault cudaEventRecordDefault #define hipEventRecordExternal cudaEventRecordExternal +//! Flags that can be used with hipStreamWaitEvent. +#define hipEventWaitDefault cudaEventWaitDefault +#define hipEventWaitExternal cudaEventWaitExternal + #define hipHostMallocDefault cudaHostAllocDefault #define hipHostMallocPortable cudaHostAllocPortable #define hipHostMallocMapped cudaHostAllocMapped