cuda.bindings._v2.driver.StreamMemOpAtomicReductionParams#

class cuda.bindings._v2.driver.StreamMemOpAtomicReductionParams#

Empty-initialize an instance of CUstreamMemOpAtomicReductionParams_st.

See also

CUstreamMemOpAtomicReductionParams_st

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an StreamMemOpAtomicReductionParams instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an StreamMemOpAtomicReductionParams instance wrapping the given pointer.

Attributes

address

The address the atomic operation will be operated on

alias

For driver internal use.

data_type

See CUstreamAtomicReductionDataType

flags_

Must be 0

operation

int:

ptr

Get the pointer address to the data as Python int.

reduction_op

See CUstreamAtomicReductionOpType

value

The operand value the atomic operation will operate with