cuda.bindings._v2.driver.func_set_shared_size#

cuda.bindings._v2.driver.func_set_shared_size(intptr_t hfunc, unsigned int bytes)#

Sets the dynamic shared-memory size for the function.

[Deprecated]. Sets through numbytes the amount of dynamic shared memory that will be available to each thread block when the kernel given by hfunc is launched.

Parameters:
  • hfunc (intptr_t) – Kernel to specify dynamic shared-memory size for.

  • bytes (unsigned int) – Dynamic shared-memory size per thread in bytes.

See also

cuFuncSetSharedSize