cuda.core.experimental.EventOptions

class cuda.core.experimental.EventOptions(enable_timing: bool | None = False, busy_waited_sync: bool | None = False, support_ipc: bool | None = False)

Customizable Event options.

enable_timing

Event will record timing data. (Default to False)

Type:

bool, optional

busy_waited_sync

If True, event will use blocking synchronization. When a CPU thread calls synchronize, the call will block until the event has actually been completed. Otherwise, the CPU thread will busy-wait until the event has been completed. (Default to False)

Type:

bool, optional

support_ipc

Event will be suitable for interprocess use. Note that enable_timing must be False. (Default to False)

Type:

bool, optional