cuda.bindings._v2.driver.CtxFlags#
- class cuda.bindings._v2.driver.CtxFlags(value: int)#
Context creation flags
See CUctx_flags.
- SCHED_AUTO: 0
Automatic scheduling
- SCHED_SPIN: 1
Set spin as default scheduling
- SCHED_YIELD: 2
Set yield as default scheduling
- SCHED_BLOCKING_SYNC: 4
Set blocking synchronization as default scheduling
- BLOCKING_SYNC: 4
Set blocking synchronization as default scheduling
SCHED_MASK: 7
- MAP_HOST: 8
[Deprecated]
- LMEM_RESIZE_TO_MAX: 16
Keep local memory allocation after launch
- COREDUMP_ENABLE: 32
Trigger coredumps from exceptions in this context
- USER_COREDUMP_ENABLE: 64
Enable user pipe to trigger coredumps in this context
- SYNC_MEMOPS: 128
Ensure synchronous memory operations on this context will synchronize
FLAGS_MASK: 255