cuda.core.StreamOptions#
- class cuda.core.StreamOptions(
- nonblocking: cython.bint = True,
- priority: int | None = None,
- synchronization_policy: object = None,
Customizable
Streamoptions.- nonblocking#
Stream does not synchronize with the NULL stream. (Default to True)
- Type:
bool, optional
- priority#
Stream priority where lower number represents a higher priority. (Default to lowest priority)
- Type:
int, optional
- synchronization_policy#
CPU wait policy applied when synchronizing this stream from the host. Maps to
CU_LAUNCH_ATTRIBUTE_SYNCHRONIZATION_POLICYviacuStreamSetAttribute. (Default to None, leaving the driver default)- Type:
SynchronizationPolicyType | None, optional