cuda.bindings._v2.driver.StreamMemOpMemoryBarrierParams#

class cuda.bindings._v2.driver.StreamMemOpMemoryBarrierParams#

Empty-initialize an instance of CUstreamMemOpMemoryBarrierParams_st.

See also

CUstreamMemOpMemoryBarrierParams_st

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an StreamMemOpMemoryBarrierParams instance with the memory from the given buffer.

from_data(data)

Create an StreamMemOpMemoryBarrierParams instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an StreamMemOpMemoryBarrierParams instance wrapping the given pointer.

Attributes

flags_

See CUstreamMemoryBarrier_flags

operation

< Only supported in the _v2 API

ptr

Get the pointer address to the data as Python int.