MLIR
22.0.0git
|
Public Member Functions | |
StreamWrapper (DynamicEventPool &dynEventPool) | |
~StreamWrapper () | |
ze_event_handle_t * | getLastImplicitEventPtr () |
void | sync (ze_event_handle_t explicitEvent=nullptr) |
template<typename Func > | |
void | enqueueOp (Func &&op) |
Public Attributes | |
std::deque< ze_event_handle_t > | implicitEventStack |
DynamicEventPool & | dynEventPool |
Definition at line 341 of file LevelZeroRuntimeWrappers.cpp.
|
inline |
Definition at line 346 of file LevelZeroRuntimeWrappers.cpp.
|
inline |
Definition at line 347 of file LevelZeroRuntimeWrappers.cpp.
|
inline |
Definition at line 373 of file LevelZeroRuntimeWrappers.cpp.
References DynamicEventPool::takeEvent().
Referenced by mgpuLaunchKernel(), mgpuMemcpy(), and mgpuMemset().
|
inline |
Definition at line 349 of file LevelZeroRuntimeWrappers.cpp.
|
inline |
Definition at line 354 of file LevelZeroRuntimeWrappers.cpp.
References L0_SAFE_CALL, max(), and DynamicEventPool::releaseEvent().
Referenced by mgpuMemFree(), mgpuStreamSynchronize(), and mgpuStreamWaitEvent().
DynamicEventPool& StreamWrapper::dynEventPool |
Definition at line 344 of file LevelZeroRuntimeWrappers.cpp.
std::deque<ze_event_handle_t> StreamWrapper::implicitEventStack |
Definition at line 343 of file LevelZeroRuntimeWrappers.cpp.