CU_STREAM_WRITE_VALUE_DEFAULT

Undocumented in source.

Values

ValueMeaning
CU_STREAM_WRITE_VALUE_DEFAULT0x0

< Default behavior

CU_STREAM_WRITE_VALUE_NO_MEMORY_BARRIER0x1

< Permits the write to be reordered with writes which were issued before it, as a performance optimization. Normally, ::cuStreamWriteValue32 will provide a memory fence before the write, which has similar semantics to __threadfence_system() but is scoped to the stream rather than a CUDA thread.

Meta