cuda.bindings._v2.driver.surf_ref_set_array#
- cuda.bindings._v2.driver.surf_ref_set_array(
- intptr_t h_surf_ref,
- intptr_t h_array,
- unsigned int flags,
Sets the CUDA array for a surface reference.
[Deprecated]. Sets the CUDA array
h_arrayto be read and written by the surface referenceh_surf_ref. Any previous CUDA array state associated with the surface reference is superseded by this function.flagsmust be set to 0. TheCUDA_ARRAY3D_SURFACE_LDSTflag must have been set for the CUDA array. Any CUDA array previously bound toh_surf_refis unbound.- Parameters:
h_surf_ref (intptr_t) – Surface reference handle.
h_array (intptr_t) – CUDA array handle.
flags (unsigned int) – set to 0.
See also
cuSurfRefSetArray