Skip to main content

cuTexRefSetArray

Function cuTexRefSetArray 

Source
pub unsafe extern "C" fn cuTexRefSetArray(
    hTexRef: CUtexref,
    hArray: CUarray,
    Flags: c_uint,
) -> CUresult
๐Ÿ‘ŽDeprecated
Expand description

Binds an array as a texture reference.

Binds the CUDA array hArray to the texture reference hTexRef. Any previous address or CUDA array state associated with the texture reference is superseded by this function. Flags must be set to CU_TRSA_OVERRIDE_FORMAT. Any CUDA array previously bound to hTexRef is unbound.

ยงParameters