cuda.bindings._v2.driver.param_setv#

cuda.bindings._v2.driver.param_setv(
intptr_t hfunc,
int offset,
intptr_t ptr,
unsigned int numbytes,
)#

Adds arbitrary data to the function’s argument list.

[Deprecated]. Copies an arbitrary amount of data (specified in numbytes) from ptr into the parameter space of the kernel corresponding to hfunc. offset is a byte offset.

Parameters:
  • hfunc (intptr_t) – Kernel to add data to.

  • offset (int) – Offset to add data to argument list.

  • ptr (intptr_t) – Pointer to arbitrary data.

  • numbytes (unsigned int) – Size of data to copy in bytes.

See also

cuParamSetv