Remove hipEventDisableSystemFence (#1122)

There is no indication that disabling system fence has any latency improvement.
Removing it per recommendation from HIP.

[ROCm/rccl commit: 5976f757dd]
Šī revīzija ir iekļauta:
Wenkai Du
2024-03-25 08:01:57 -07:00
revīziju iesūtīja GitHub
vecāks 61f89d680d
revīzija 43bbee4dcc
3 mainīti faili ar 2 papildinājumiem un 28 dzēšanām
-5
Parādīt failu
@@ -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;