Remove hipEventDisableSystemFence (#1122)

There is no indication that disabling system fence has any latency improvement.
Removing it per recommendation from HIP.
This commit is contained in:
Wenkai Du
2024-03-25 08:01:57 -07:00
کامیت شده توسط GitHub
والد c2fc1d6809
کامیت 5976f757dd
3فایلهای تغییر یافته به همراه2 افزوده شده و 28 حذف شده
-5
مشاهده پرونده
@@ -521,12 +521,7 @@ static ncclResult_t commAlloc(struct ncclComm* comm, struct ncclComm* parent, in
// Try to create a CUDA object right away. If there is something wrong with
// the device we're on (failure cause #1) , better know it early.
hipEvent_t doneEvent;
#ifdef HIP_EVENT_DISABLE_FENCE
CUDACHECK(hipEventCreateWithFlags(&doneEvent, hipEventDisableTiming|hipEventDisableSystemFence));
#else
CUDACHECK(hipEventCreateWithFlags(&doneEvent, hipEventDisableTiming));
#endif
comm->doneEvent = doneEvent;
comm->lastStream = nullptr;