SyncWaitMode#

Fully qualified name: cupva::SyncWaitMode

Defined in src/host/shared/include/install/cupva_host_common.hpp

enum class cupva::SyncWaitMode : uint32_t#

The sync object wait mode.

This controls how an app interacts with the OS scheduler while blocked by calling Fence::wait().

Values:

enumerator YIELD#

Instruct CUPVA to yield the caller thread while blocked by calling Fence::wait().

enumerator SPIN#

Instruct CUPVA to actively spin while blocked by calling Fence::wait(). This can increase CPU utilization and power consumption